1
0
mirror of https://github.com/kepler155c/opus synced 2025-12-19 22:58:06 +00:00

better fuzzy matching + vfs type flag in Files

This commit is contained in:
kepler155c@gmail.com
2020-05-19 17:09:10 -06:00
parent b93d69c261
commit 985830fcfd
8 changed files with 115 additions and 66 deletions

View File

@@ -41,7 +41,7 @@ local page = UI.Page {
},
description = UI.TextArea {
x = 16, y = 3, ey = -5,
marginRight = 0, marginLeft = 0,
marginRight = 2, marginLeft = 0,
},
action = UI.SlideOut {
titleBar = UI.TitleBar {
@@ -140,9 +140,9 @@ function page:eventHandler(event)
elseif event.type == 'grid_focus_row' then
local manifest = event.selected.manifest
self.description.value = string.format('%s%s\n\n%s%s',
self.description:setValue(string.format('%s%s\n\n%s%s',
Ansi.yellow, manifest.title,
Ansi.white, manifest.description)
Ansi.white, manifest.description))
self.description:draw()
self:updateSelection(event.selected)