diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2022-06-22 17:37:26 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2022-06-22 17:37:26 -0700 |
commit | 54eefbbf2d350d2aba8b90e6b04dcb89f3edbb26 (patch) | |
tree | 7b8dd97aea3946f5a1e15d6f27ebb882cd65c8dd | |
parent | 8e68c699f50121db306ff552d16ea3e10bd77b19 (diff) | |
download | lines.love-54eefbbf2d350d2aba8b90e6b04dcb89f3edbb26.tar.gz |
turns out super- chords to get to textinput
-rw-r--r-- | text.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/text.lua b/text.lua index e80cd03..b5e8392 100644 --- a/text.lua +++ b/text.lua @@ -140,8 +140,7 @@ end function Text.textinput(t) if App.mouse_down(1) then return end assert(not App.ctrl_down()) - if App.alt_down() then return end - assert(not App.cmd_down()) + if App.alt_down() or App.cmd_down() then return end local before = snapshot(Cursor1.line) --? print(Screen_top1.line, Screen_top1.pos, Cursor1.line, Cursor1.pos, Screen_bottom1.line, Screen_bottom1.pos) Text.insert_at_cursor(t) |