aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/main.c b/src/main.c
index 28d1592..3c7fe9b 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1394,11 +1394,8 @@ static void get_user_input(void)
edbuf[edlen] = '\0';
#ifdef BUG_ANSI
if (edattrbg)
- tty_printf("%s\n", edattrend);
- else
+ tty_puts(edattrend);
#endif
- tty_putc('\n');
-
tcp_write(tcp_fd, edbuf);
edlen = 0;
typed[nchars = 0] = 0;