diff options
author | Michael Czigler <37268479+mcpcpc@users.noreply.github.com> | 2020-10-15 16:03:16 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-15 16:03:16 -0400 |
commit | c955aeb322553a60e73085e34662be4d5315e7b2 (patch) | |
tree | 4a5a93794541f8cf4fc8ff178e55d0eddd6334d6 | |
parent | FAQ moved to website (diff) | |
download | kirc-c955aeb322553a60e73085e34662be4d5315e7b2.tar.gz kirc-c955aeb322553a60e73085e34662be4d5315e7b2.tar.bz2 kirc-c955aeb322553a60e73085e34662be4d5315e7b2.tar.xz kirc-c955aeb322553a60e73085e34662be4d5315e7b2.tar.zst kirc-c955aeb322553a60e73085e34662be4d5315e7b2.zip |
add braces around input prompt
-rw-r--r-- | kirc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -667,7 +667,7 @@ int main(int argc, char **argv) { int poll_res = poll(fds, 2, -1); if (poll_res != -1) { if (fds[0].revents & POLLIN) { - snprintf(promptc, CHA_MAX, "\x1b[35m#%s\x1b[0m ", chan_default); + snprintf(promptc, CHA_MAX, "[\x1b[35m#%s\x1b[0m] ", chan_default); edit(usrin, MSG_MAX, promptc); handleUserInput(usrin); } |