X11: Put yn prompts into message history

This commit is contained in:
Pasi Kallinen
2017-10-15 21:48:42 +03:00
parent 1af921274e
commit f1618fe6dd

View File

@@ -2081,6 +2081,8 @@ char def; /* default response if user hits <space> or <return> */
nh_XtPopdown(yn_popup); /* this removes the event grab */
}
pline("%s%c", buf, (yn_return != '\033') ? yn_return : '\0');
return yn_return;
}