diff options
author | powwow@askgustav.com <powwow@askgustav.com> | 2021-07-08 13:44:02 (GMT) |
---|---|---|
committer | Steve Slaven <bpk@hoopajoo.net> | 2021-07-09 15:28:15 (GMT) |
commit | 1fbc160a98cbc5d83949c057f89118707baa5da3 (patch) | |
tree | cea1990dde4e05f11fefa22adce950a098d8ac7c /src | |
parent | 8569eb93a7fa91a446fb211d31fb6e227d0aab65 (diff) | |
download | powwow-1fbc160a98cbc5d83949c057f89118707baa5da3.zip powwow-1fbc160a98cbc5d83949c057f89118707baa5da3.tar.gz powwow-1fbc160a98cbc5d83949c057f89118707baa5da3.tar.bz2 |
stop emitting newline in no-echo mode
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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; |