diff options
| author | Rockwell Schrock <rockwell@schrock.me> | 2025-01-29 23:07:06 -0500 |
|---|---|---|
| committer | Rockwell Schrock <rockwell@schrock.me> | 2025-01-29 23:07:06 -0500 |
| commit | abf13d4ec112fc430b9fadea69455aa45d4e3cd6 (patch) | |
| tree | b14c130bb46efe4ea266876c49bc08a9f41db3b4 /lua/browser.lua | |
| parent | ddcd06dbca61fc55a7c2cd68f82f8cfe7b4c5cbf (diff) | |
| download | tangara-fw-abf13d4ec112fc430b9fadea69455aa45d4e3cd6.tar.gz | |
On browser and file_browser screens, focus the first item when appearing
Diffstat (limited to 'lua/browser.lua')
| -rw-r--r-- | lua/browser.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lua/browser.lua b/lua/browser.lua index 2a024fc5..264db0c5 100644 --- a/lua/browser.lua +++ b/lua/browser.lua @@ -118,6 +118,7 @@ return screen:new { end widgets.InfiniteList(self.root, self.iterator, { + focus_first_item = true, get_icon = get_icon_func, callback = function(item) return function() |
