diff options
-rw-r--r-- | source_text.lua | 1 | ||||
-rw-r--r-- | text.lua | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/source_text.lua b/source_text.lua index 9cc03ea..8d169a7 100644 --- a/source_text.lua +++ b/source_text.lua @@ -230,7 +230,6 @@ function Text.keychord_press(State, chord) local before_line = State.cursor1.line local before = snapshot(State, before_line) Text.insert_return(State) - State.selection1 = {} if State.cursor_y > App.screen.height - State.line_height then Text.snap_cursor_to_bottom_of_screen(State, State.left, State.right) end diff --git a/text.lua b/text.lua index 4be5a09..b073fbd 100644 --- a/text.lua +++ b/text.lua @@ -156,7 +156,6 @@ function Text.keychord_press(State, chord) local before_line = State.cursor1.line local before = snapshot(State, before_line) Text.insert_return(State) - State.selection1 = {} if State.cursor_y > App.screen.height - State.line_height then Text.snap_cursor_to_bottom_of_screen(State, State.left, State.right) end |