diff options
| author | theprimeagain <the.primeagen@gmail.com> | 2026-03-01 09:01:29 -0700 |
|---|---|---|
| committer | theprimeagain <the.primeagen@gmail.com> | 2026-03-01 09:01:29 -0700 |
| commit | 23fd5532a6cda8e899c7f6dc20e522c40b17485f (patch) | |
| tree | c3b7c3219ccaa68eafd232aec8f8e14ae36939c2 /lua | |
| parent | c65de294bdf0e077e1b9c52204baa93015cc08c2 (diff) | |
| download | a4-23fd5532a6cda8e899c7f6dc20e522c40b17485f.tar.xz a4-23fd5532a6cda8e899c7f6dc20e522c40b17485f.zip | |
small fix to the view_Logs
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/99/init.lua | 3 | ||||
| -rw-r--r-- | lua/99/window/select-window.lua | 1 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lua/99/init.lua b/lua/99/init.lua index f08ba11..7a15dfc 100644 --- a/lua/99/init.lua +++ b/lua/99/init.lua @@ -359,7 +359,8 @@ end function _99.view_logs() local requests = _99_state.tracking.history - select_window(requests, function(idx) + local str_requests = Tracking.to_selectable_list(requests) + select_window(str_requests, function(idx) local r = requests[idx] local logs = Logger.logs_by_id(r.xid) if logs == nil then diff --git a/lua/99/window/select-window.lua b/lua/99/window/select-window.lua index 3c90e0b..5799580 100644 --- a/lua/99/window/select-window.lua +++ b/lua/99/window/select-window.lua @@ -26,5 +26,4 @@ local function select_window(lines, cb) }) end - return select_window |
