Merge template-live-editor
This commit is contained in:
commit
94dcf80cdf
1
edit.lua
1
edit.lua
|
@ -203,6 +203,7 @@ function edit.keychord_press(State, chord, key)
|
|||
Text.delete_selection(State, State.left, State.right)
|
||||
end
|
||||
if State.search_term then
|
||||
for _,line_cache in ipairs(State.line_cache) do line_cache.starty = nil end -- just in case we scroll
|
||||
if chord == 'escape' then
|
||||
State.search_term = nil
|
||||
State.search_text = nil
|
||||
|
|
Loading…
Reference in New Issue