epitome of stupidity

This commit is contained in:
krolxon 2024-04-28 23:18:48 +05:30
parent 07351da950
commit fb06907cfe
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ pub fn handle_key_events(key_event: KeyEvent, app: &mut App) -> AppResult<()> {
} else { } else {
match key_event.code { match key_event.code {
// Quit // Quit
KeyCode::Char('q'), KeyCode::Char('q') => app.quit(),
KeyCode::Char('c') | KeyCode::Char('C') => { KeyCode::Char('c') | KeyCode::Char('C') => {
if key_event.modifiers == KeyModifiers::CONTROL { if key_event.modifiers == KeyModifiers::CONTROL {
app.quit(); app.quit();