aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Czigler <37268479+mcpcpc@users.noreply.github.com>2020-10-15 16:03:16 -0400
committerGitHub <noreply@github.com>2020-10-15 16:03:16 -0400
commitc955aeb322553a60e73085e34662be4d5315e7b2 (patch)
tree4a5a93794541f8cf4fc8ff178e55d0eddd6334d6
parentFAQ moved to website (diff)
downloadkirc-c955aeb322553a60e73085e34662be4d5315e7b2.tar.gz
kirc-c955aeb322553a60e73085e34662be4d5315e7b2.tar.bz2
kirc-c955aeb322553a60e73085e34662be4d5315e7b2.tar.xz
kirc-c955aeb322553a60e73085e34662be4d5315e7b2.tar.zst
kirc-c955aeb322553a60e73085e34662be4d5315e7b2.zip
add braces around input prompt
Diffstat (limited to '')
-rw-r--r--kirc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kirc.c b/kirc.c
index 0555d19..7fe67f3 100644
--- a/kirc.c
+++ b/kirc.c
@@ -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);
}