From a46c71f4c5e51e6eb0e0b306623408adc2180404 Mon Sep 17 00:00:00 2001 From: nhmall Date: Fri, 17 Nov 2023 09:04:27 -0500 Subject: [PATCH] replace useful descriptive comment in tty getline --- win/tty/getline.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/win/tty/getline.c b/win/tty/getline.c index 381c618e3..ebe5b7de2 100644 --- a/win/tty/getline.c +++ b/win/tty/getline.c @@ -58,6 +58,11 @@ hooked_tty_getlin( /* * Issue the prompt. + * + * custompline() will call vpline() which calls flush_screen() which + * calls bot(). The core now disables bot() processing while inside + * getlin, so the screen won't be modified during whatever this prompt + * is for. */ custompline(OVERRIDE_MSGTYPE | SUPPRESS_HISTORY, "%s ", query);