about summary refs log tree commit diff stats
path: root/main.lua
diff options
context:
space:
mode:
Diffstat (limited to 'main.lua')
-rw-r--r--main.lua4
1 files changed, 0 insertions, 4 deletions
diff --git a/main.lua b/main.lua
index b1b0bd8..712d44c 100644
--- a/main.lua
+++ b/main.lua
@@ -391,7 +391,6 @@ function App.mousereleased(x,y, button)
   end
 end
 
--- don't depend on state of Selection1; use keychord_pressed for that
 function App.textinput(t)
   for _,line in ipairs(Lines) do line.y = nil end  -- just in case we scroll
   if Search_term then
@@ -551,9 +550,6 @@ 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() and chord ~= 'C-c' then
-    Selection1 = {}
-  end
 end
 
 function App.keyreleased(key, scancode)