1
0
Fork 0
mirror of https://github.com/alemidev/scope-tui.git synced 2024-11-14 18:59:19 +01:00

feat: more ways to quit

This commit is contained in:
əlemi 2022-12-27 19:02:13 +01:00
parent 59b736bf12
commit 57ffa3c690
No known key found for this signature in database
GPG key ID: BBCBFE5D7244634E

View file

@ -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,
_ => {}, _ => {},
} }
}, },