Skip to content

Commit

Permalink
Add the cursor on the edge corner when its visible
Browse files Browse the repository at this point in the history
  • Loading branch information
Mclilzee committed Nov 16, 2024
1 parent 51b6917 commit 5694dbb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/snippet_engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ impl SnippetEngine {
}

fn draw(&self, frame: &mut Frame) {
frame.set_cursor_position((u16::MAX - 1, u16::MAX - 1));
frame.render_widget(self, frame.area());
}
}
Expand Down

0 comments on commit 5694dbb

Please sign in to comment.