diff --git a/README.md b/README.md index d45f0a1..75cd946 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ currently, hexapoda is very unpolished, and missing some major features. if you' - split selection(s) into #-byte chunks - undo/redo - inspect the current selection(s) - - signed, unsigned, fixed-point, UTF-8, color + - signed, unsigned, binary, fixed-point, UTF-8, color - mark notable offsets - jump to selected offset diff --git a/src/app.rs b/src/app.rs index 2d10350..d5b43b9 100644 --- a/src/app.rs +++ b/src/app.rs @@ -224,6 +224,7 @@ impl App { byte_column ); current_buffer.cursors.clear(); + current_buffer.clamp_screen_to_primary_cursor(self.window_size); } }, MouseEventKind::ScrollDown => { diff --git a/src/main.rs b/src/main.rs index 9f1cf5d..5cbdca9 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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