diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2022-12-24 19:26:55 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2022-12-24 19:26:55 -0800 |
commit | 4d561e22948047beac7ceaf7dca89eb1d9ee5a31 (patch) | |
tree | 986944f51a1c0d0a64f72e0a79330b8939e3f655 /edit.lua | |
parent | e9a517161b378202ea6f3e01b5378b592e1b921f (diff) | |
parent | a9aa3436fa64e77c9d3e335a50d194e79d640b58 (diff) | |
download | view.love-4d561e22948047beac7ceaf7dca89eb1d9ee5a31.tar.gz |
Merge lines.love
Diffstat (limited to 'edit.lua')
-rw-r--r-- | edit.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/edit.lua b/edit.lua index 86c15cf..9c527b4 100644 --- a/edit.lua +++ b/edit.lua @@ -196,7 +196,7 @@ function edit.keychord_press(State, chord, key) -- printable character created using shift key => delete selection -- (we're not creating any ctrl-shift- or alt-shift- combinations using regular/printable keys) (not App.shift_down() or utf8.len(key) == 1) and - chord ~= 'C-a' and chord ~= 'C-c' and chord ~= 'C-x' and chord ~= 'backspace' and backspace ~= 'delete' and not App.is_cursor_movement(chord) then + chord ~= 'C-a' and chord ~= 'C-c' and chord ~= 'C-x' and chord ~= 'backspace' and chord ~= 'delete' and chord ~= 'C-z' and not App.is_cursor_movement(chord) then Text.delete_selection(State, State.left, State.right) end if State.search_term then |