about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--text.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/text.lua b/text.lua
index 8753a7b..5dbecc9 100644
--- a/text.lua
+++ b/text.lua
@@ -172,6 +172,7 @@ function Text.keychord_pressed(chord)
     local before_line = Cursor1.line
     local before = snapshot(before_line)
     Text.insert_return()
+    Selection1 = {}
     if (Cursor_y + Line_height) > App.screen.height then
       Text.snap_cursor_to_bottom_of_screen()
     end