about summary refs log tree commit diff stats
path: root/main.lua
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-06-20 12:02:51 -0700
committerKartik K. Agaram <vc@akkartik.com>2022-06-20 12:02:51 -0700
commit7508a70ed5cb57beec1a69b996caf5375a446077 (patch)
treecdc142ee1427861de90f486993a9ff66575118af /main.lua
parentc1b6bac187cf8597da3cc0d3dc1caa269d3c13c5 (diff)
downloadtext.love-7508a70ed5cb57beec1a69b996caf5375a446077.tar.gz
selection bugfix
Diffstat (limited to 'main.lua')
-rw-r--r--main.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.lua b/main.lua
index 270e0b7..b1b0bd8 100644
--- a/main.lua
+++ b/main.lua
@@ -551,7 +551,7 @@ function App.keychord_pressed(chord)
     for _,line in ipairs(Lines) do line.y = nil end  -- just in case we scroll
     Text.keychord_pressed(chord)
   end
-  if not App.shift_down() then
+  if not App.shift_down() and chord ~= 'C-c' then
     Selection1 = {}
   end
 end