diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2024-07-24 14:36:45 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2024-07-24 14:36:45 -0300 |
commit | 7b0dae80d1562d3df908d3604f653ee7f13d89c3 (patch) | |
tree | 9295effd3cd713b30a34db93485ecce395be1c9b /packages | |
parent | d19903262cd69991c4c8beec0e8c9de5e85c81a8 (diff) | |
download | finder-7b0dae80d1562d3df908d3604f653ee7f13d89c3.tar.gz finder-7b0dae80d1562d3df908d3604f653ee7f13d89c3.tar.bz2 |
Fix: return cursor to the first listed item
Diffstat (limited to 'packages')
-rw-r--r-- | packages/finder/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/finder/main.py b/packages/finder/main.py index a23b22c..949b847 100644 --- a/packages/finder/main.py +++ b/packages/finder/main.py @@ -65,7 +65,7 @@ class FinderMain(): #self.list_buffer.text = self.format(items) # For read-only buffers - self.list_buffer.set_document(Document(self.format(items)), bypass_readonly=True) + self.list_buffer.set_document(Document(self.format(items), cursor_position=0), bypass_readonly=True) def bindings(self): self.keybindings = KeyBindings() |