From f1618fe6ddc50a0e658976dd4d4ce6eb0271f4ed Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Sun, 15 Oct 2017 21:48:42 +0300 Subject: [PATCH] X11: Put yn prompts into message history --- win/X11/winX.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/win/X11/winX.c b/win/X11/winX.c index 8d097a791..c885e3d82 100644 --- a/win/X11/winX.c +++ b/win/X11/winX.c @@ -2081,6 +2081,8 @@ char def; /* default response if user hits or */ nh_XtPopdown(yn_popup); /* this removes the event grab */ } + pline("%s%c", buf, (yn_return != '\033') ? yn_return : '\0'); + return yn_return; }