mirror of
https://github.com/alemidev/scope-tui.git
synced 2024-11-14 10:49:20 +01:00
feat: more ways to quit
This commit is contained in:
parent
59b736bf12
commit
57ffa3c690
1 changed files with 1 additions and 1 deletions
|
@ -229,7 +229,7 @@ fn run_app<T : Backend>(args: Args, terminal: &mut Terminal<T>) -> Result<(), io
|
||||||
match key.modifiers {
|
match key.modifiers {
|
||||||
KeyModifiers::CONTROL => {
|
KeyModifiers::CONTROL => {
|
||||||
match key.code {
|
match key.code {
|
||||||
KeyCode::Char('c') => break,
|
KeyCode::Char('c') | KeyCode::Char('q') | KeyCode::Char('w') => break,
|
||||||
_ => {},
|
_ => {},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue