AmendHub

Download:

jcs

/

subtext

/

amendments

/

324

sysop: Output a newline if denying confirmation to board deletion


jcs made amendment 324 about 1 year ago
--- sysop.c Fri Feb 24 21:53:24 2023 +++ sysop.c Mon Feb 27 09:45:34 2023 @@ -193,8 +193,11 @@ sysop_edit_boards(struct session *s) sc = session_input_char(s); if (s->ending) return; - if (sc != 'Y' && sc != 'y') + if (sc != 'Y' && sc != 'y') { + session_output(s, "\r\n", 2); + session_flush(s); continue; + } session_printf(s, "%c\r\n", sc == 'Y' ? 'Y' : 'y'); session_flush(s);