doc: fix example with awful.prompt.run hooks
It should return `command` for it to be executed.
This commit is contained in:
parent
b7d398f339
commit
c8e078b1bf
|
@ -243,6 +243,7 @@ end
|
|||
-- if command:sub(1,1) == ":" then
|
||||
-- return terminal .. ' -e ' .. command:sub(2)
|
||||
-- end
|
||||
-- return command
|
||||
-- end}
|
||||
-- }
|
||||
-- @param textbox The textbox to use for the prompt.
|
||||
|
|
Loading…
Reference in New Issue