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:
parent
5ad02d0b8b
commit
65512b5ea9
|
@ -170,7 +170,7 @@ local function history_check_load(id, max)
|
||||||
end
|
end
|
||||||
|
|
||||||
local function is_word_char(c)
|
local function is_word_char(c)
|
||||||
if string.find("[{[(,.:;_-+=@/ ]", c) then
|
if string.find(c, "[{[(,.:;_-+=@/ ]") then
|
||||||
return false
|
return false
|
||||||
else
|
else
|
||||||
return true
|
return true
|
||||||
|
|
Loading…
Reference in New Issue