prompt: search in prompt history using exact string match
commitb8c172a2dcd9e58c624cb4a7ad583debaa7b3b0a
authorMassimiliano Brocchini <massimiliano.brocchini@gmail.com>
Sat, 22 Feb 2014 11:24:59 +0000 (22 12:24 +0100)
committerUli Schlachter <psychon@znc.in>
Sat, 22 Feb 2014 15:32:34 +0000 (22 16:32 +0100)
tree02690f60df5447d023ac4da42317eb2a2cb73fc6
parent77a2b2742658d8ab18abebbc7ee33324fa6871ae
prompt: search in prompt history using exact string match

The default value for the second argument to :find() is 1, so nothing is changed
here. The third arguments disables pattern matching and instead gets us literal
interpretation of strings. This means that pattern characters like e.g. [, ] and
. don't get interpreted.

Signed-off-by: Massimiliano Brocchini <massimiliano.brocchini@gmail.com>
Signed-off-by: Uli Schlachter <psychon@znc.in>
lib/awful/prompt.lua.in