diff --git a/lib/awful/prompt.lua b/lib/awful/prompt.lua index de25e8e2..42719913 100644 --- a/lib/awful/prompt.lua +++ b/lib/awful/prompt.lua @@ -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