diff options
Diffstat (limited to 'text.lua')
-rw-r--r-- | text.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/text.lua b/text.lua index f21c7bc..be7ecf7 100644 --- a/text.lua +++ b/text.lua @@ -139,7 +139,9 @@ end function Text.textinput(t) if App.mouse_down(1) then return end - if App.ctrl_down() or App.alt_down() or App.cmd_down() then return end + assert(not App.ctrl_down()) + if App.alt_down() then return end + assert(not App.cmd_down()) if Selection1.line then Text.delete_selection() end |