summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2018-01-19 18:34:30 +0530
committerManish Goregaokar <manishsmail@gmail.com>2018-01-20 10:25:06 +0530
commit12d08f79bbec3582fe079ec5a5d0f91002f62037 (patch)
treecb26a75ae9532567d38dee726e6b9e59ce41a26e /m4
parent243ae4be84d422322f20be1b715dc0b00ef9c32d (diff)
downloadirssi-12d08f79bbec3582fe079ec5a5d0f91002f62037.zip
Insert colons after completing nicks preceded by a list of other autocompleted nicks
When pinging two people, typing `nick1<tab> nick2<tab> message` for autocompletion will get you `nick1: nick2 message`, which is kinda confusing. We only insert the colon after the first autocompleted nick, because if a nick is used in the middle of the sentence it's mentioning the person but not targeting the message at them. However, this breaks down when we try to ping a list of people. There should be a colon in front of each separating the names from the message. only having a colon at the end of the nick list works too, but it seems like the IRC convention is to just use multiple colons. This patch makes it so that autocompleting a nick after a list of existing autocompleted nicks at the beginning of the message will include a colon.
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions