From 1fbc160a98cbc5d83949c057f89118707baa5da3 Mon Sep 17 00:00:00 2001 From: "powwow@askgustav.com" Date: Thu, 8 Jul 2021 15:44:02 +0200 Subject: stop emitting newline in no-echo mode 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; -- cgit v0.10.2