]> git.cworth.org Git - sup/commit
bugfix: file-browser-mode should reset the cursor when entering a new dir
authorWilliam Morgan <wmorgan-sup@masanjin.net>
Mon, 14 Jan 2008 01:23:49 +0000 (17:23 -0800)
committerWilliam Morgan <wmorgan-sup@masanjin.net>
Mon, 14 Jan 2008 01:27:52 +0000 (17:27 -0800)
commitcd38e393703c600839133991ef9015acdc4c0f4d
treec9e6c2392042ff4b5f01df673d9d658183a8c27f
parent6421200176dd8f27815e1d37ce10448d4f24d41f
bugfix: file-browser-mode should reset the cursor when entering a new dir

Otherwise, entering a new directory can start with the cursor and page at
a weird location, e.g. with the very last file appearing at the top of
the screen.
lib/sup/modes/file-browser-mode.rb