Allow completion on backspace

This commit is contained in:
hrsh7th
2021-08-04 02:07:59 +09:00
parent e62a03c5cc
commit ed70a7e062

View File

@@ -123,7 +123,7 @@ core.autocomplete = function(event)
end
debug.log(('ctx: `%s`'):format(ctx.cursor_before_line))
if ctx:is_forwarding() then
if ctx:changed(ctx.prev_context) then
debug.log('changed')
core.menu:restore(ctx)