jcs
/subtext
/amendments
/75
chat: When sending input, put cursor on col 1 and reset
Not sure when this broke, but probably should investigate
jcs made amendment 75 over 2 years ago
--- chat.c Wed Jan 26 14:34:23 2022
+++ chat.c Thu Feb 17 15:12:42 2022
@@ -185,7 +185,8 @@ chat_start(struct session *s, char *with_node)
s->terminal_columns - 1, NULL, 0);
if (!input)
break;
- session_printf(s, "\r%s", ansi(s, ANSI_ERASE_LINE, ANSI_END));
+ session_output_string(s,
+ ansi(s, ANSI_COL_N, 1, ANSI_ERASE_LINE, ANSI_END));
session_flush(s);
if (input[0] == '/') {