We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 06811c9 commit ca08a88Copy full SHA for ca08a88
1 file changed
gui/launcher.lua
@@ -272,6 +272,7 @@ function EditPanel:move_history(delta)
272
end
273
274
function EditPanel:on_search_text(search_str, next_match)
275
+ if not search_str or #search_str == 0 then return end
276
local start_idx = math.min(self.history_idx - (next_match and 1 or 0),
277
#history)
278
for history_idx = start_idx, 1, -1 do
0 commit comments