fix cursor padding for mouse click

This commit is contained in:
alice pellerin
2026-04-29 23:51:11 -05:00
parent 0284279cd5
commit e60e63cb16
3 changed files with 3 additions and 2 deletions
+1
View File
@@ -224,6 +224,7 @@ impl App {
byte_column
);
current_buffer.cursors.clear();
current_buffer.clamp_screen_to_primary_cursor(self.window_size);
}
},
MouseEventKind::ScrollDown => {
+1 -1
View File
@@ -33,7 +33,7 @@ const LINES_OF_PADDING: usize = 5;
const BYTES_OF_PADDING: usize = LINES_OF_PADDING * BYTES_PER_LINE;
// TODO:
// - update showcase
// - click and drag selection
// - `go` goto entered offset
// - search
// - `/` hex, `A-/` ascii