Move cursor in message editor vertically
This commit is contained in:
parent
8b66de44e0
commit
c4d3f5ba4d
5 changed files with 170 additions and 38 deletions
|
|
@ -385,10 +385,10 @@ impl EuphRoom {
|
|||
}
|
||||
self.state = State::Normal;
|
||||
}
|
||||
key!(Char ch) => ed.insert_char(ch),
|
||||
key!(Backspace) => ed.backspace(),
|
||||
key!(Left) => ed.move_cursor_left(),
|
||||
key!(Right) => ed.move_cursor_right(),
|
||||
key!(Char ch) => ed.insert_char(terminal.frame(), ch),
|
||||
key!(Backspace) => ed.backspace(terminal.frame()),
|
||||
key!(Left) => ed.move_cursor_left(terminal.frame()),
|
||||
key!(Right) => ed.move_cursor_right(terminal.frame()),
|
||||
key!(Delete) => ed.delete(),
|
||||
_ => return false,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue