aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
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);
}