rmptuifb06907
epitome of stupidity
+1 −1
1 file changed
- M src/handler.rs +1 −1
| @@ -156,7 +156,7 @@ pub fn handle_key_events(key_event: KeyEvent, app: &mut App) -> AppResult<()> { | |||
| 156 | 156 | } else { | |
| 157 | 157 | match key_event.code { | |
| 158 | 158 | // Quit | |
| 159 | − | KeyCode::Char('q'), | |
| 159 | + | KeyCode::Char('q') => app.quit(), | |
| 160 | 160 | KeyCode::Char('c') | KeyCode::Char('C') => { | |
| 161 | 161 | if key_event.modifiers == KeyModifiers::CONTROL { | |
| 162 | 162 | app.quit(); | |