Fix editor cursor
This commit is contained in:
parent
7c6e651f88
commit
35aa70de4b
1 changed files with 1 additions and 1 deletions
|
|
@ -452,7 +452,7 @@ impl Editor<'_> {
|
|||
|
||||
let cursor_row: i32 = cursor_row.try_into().unwrap_or(i32::MAX);
|
||||
let cursor_col: i32 = cursor_col.try_into().unwrap_or(i32::MAX);
|
||||
Pos::new(cursor_row, cursor_col)
|
||||
Pos::new(cursor_col, cursor_row)
|
||||
}
|
||||
|
||||
fn draw_impl(&mut self, frame: &mut Frame) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue