Implement word wrap
This commit is contained in:
parent
8fb9d823d7
commit
5ce34b93c4
3 changed files with 38 additions and 8 deletions
|
|
@ -5,6 +5,7 @@ use crate::Message;
|
|||
|
||||
// Makes key binding definitions simpler
|
||||
const CTRL: Modifiers = Modifiers::CTRL;
|
||||
const ALT: Modifiers = Modifiers::ALT;
|
||||
const SHIFT: Modifiers = Modifiers::SHIFT;
|
||||
|
||||
#[derive(Clone, Copy, Debug, Eq, Hash, Ord, PartialEq, PartialOrd)]
|
||||
|
|
@ -38,6 +39,7 @@ impl KeyBind {
|
|||
bind!(CTRL, O, OpenFileDialog);
|
||||
bind!(CTRL, S, Save);
|
||||
bind!(CTRL, Q, Quit);
|
||||
bind!(ALT, Z, ToggleWrap);
|
||||
|
||||
keybinds
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue