diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2023-11-12 17:14:37 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2023-11-12 17:14:37 -0800 |
commit | 5cce5115507800eeca7ba9c271e07c23473228f4 (patch) | |
tree | 8ae87851af468ee88bd85c4239b69ac56308c6a2 | |
parent | 7057ac74eceac82a10ae01d6fe7cab0944184c73 (diff) | |
download | text.love-5cce5115507800eeca7ba9c271e07c23473228f4.tar.gz |
remove some dead code
We have an early exit for 'error' mode in this function.
-rw-r--r-- | main.lua | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/main.lua b/main.lua index 8272dfd..4570800 100644 --- a/main.lua +++ b/main.lua @@ -232,7 +232,6 @@ function App.keychord_press(chord, key) if run.keychord_press then run.keychord_press(chord, key) end elseif Current_app == 'source' then if source.keychord_press then source.keychord_press(chord, key) end - elseif Current_app == 'error' then else assert(false, 'unknown app "'..Current_app..'"') end |