diff options
author | Santo Cariotti <santo@dcariotti.me> | 2023-10-16 23:00:17 +0200 |
---|---|---|
committer | Santo Cariotti <santo@dcariotti.me> | 2023-10-16 23:00:17 +0200 |
commit | bfda50eac5ab0d75902d2ca1699854fa9e7784f9 (patch) | |
tree | 1a56cb12defcc1d992d64856d9218dca8e8f7584 | |
parent | 1d8941667906dced913a308c9a39fd055ac5186f (diff) |
Fix scroll top
-rw-r--r-- | src/ui.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -137,7 +137,7 @@ fn handle_events(ui: &mut UI) -> io::Result<bool> { } } KeyCode::Char('K') | KeyCode::Char('0') => { - ui.scroll = ui.height; + ui.scroll = 1; } _ => {} } |