Skip to content

Commit c955aeb

Browse files
authored
add braces around input prompt
1 parent 6fbfd13 commit c955aeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kirc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,7 @@ int main(int argc, char **argv) {
667667
int poll_res = poll(fds, 2, -1);
668668
if (poll_res != -1) {
669669
if (fds[0].revents & POLLIN) {
670-
snprintf(promptc, CHA_MAX, "\x1b[35m#%s\x1b[0m ", chan_default);
670+
snprintf(promptc, CHA_MAX, "[\x1b[35m#%s\x1b[0m] ", chan_default);
671671
edit(usrin, MSG_MAX, promptc);
672672
handleUserInput(usrin);
673673
}

0 commit comments

Comments
 (0)