more self-recover prompting cleanup (tty)

This commit is contained in:
nhmall
2019-12-04 13:10:12 -05:00
parent ea2b8a90ee
commit 4868f83db1
3 changed files with 17 additions and 1 deletions

View File

@@ -1199,7 +1199,9 @@ tty_self_recover_prompt()
c = 'n';
ct = 0;
saved_procs = windowprocs;
safe_routines();
if (!WINDOWPORT("safe-startup"))
windowprocs = *get_safe_procs(2); /* arg 2 uses no-newline variant */
windowprocs.win_nhgetch = windows_console_custom_nhgetch;
raw_print("\n");
raw_print("\n");
raw_print("\n");