Fix prompt navigation (#2970)

1. Open any awful.prompt(mod+r or mod+x)
2. Type ()->
3. Press alt+b two times
This commit is contained in:
laith-m0 2020-01-20 02:00:56 +02:00 committed by Emmanuel Lepage Vallée
parent 5ad02d0b8b
commit 65512b5ea9
1 changed files with 1 additions and 1 deletions

View File

@ -170,7 +170,7 @@ local function history_check_load(id, max)
end
local function is_word_char(c)
if string.find("[{[(,.:;_-+=@/ ]", c) then
if string.find(c, "[{[(,.:;_-+=@/ ]") then
return false
else
return true