improve export script, add todo.md

This commit is contained in:
alice pellerin
2026-05-03 10:49:41 -05:00
parent 596f3d5c12
commit c879cdb271
7 changed files with 62 additions and 44 deletions
+2 -1
View File
@@ -250,7 +250,8 @@ impl App {
fn mouse_event_position(&self, mouse_event: MouseEvent) -> Option<usize> {
let tab_bar_rows = usize::from(self.buffers.len() > 1);
if usize::from(mouse_event.row) - tab_bar_rows >= self.window_size.hex_rows() {
if usize::from(mouse_event.row) < tab_bar_rows ||
usize::from(mouse_event.row) - tab_bar_rows >= self.window_size.hex_rows() {
return None;
}