Don’t stuff keyboard input uselessly

Also, document stuffing better.
* src/keyboard.c (stuff_buffered_input):
Give up on stuffing if it fails.
* src/sysdep.c (stuff_char): Return failure indication.
This commit is contained in:
Paul Eggert
2026-02-28 09:03:27 -08:00
parent 936472345d
commit aed1c8b536
6 changed files with 42 additions and 49 deletions

View File

@@ -504,6 +504,8 @@ THINGS TO DO
** flow-ctrl.el must be updated.
** Fix stuff_char for multi-tty. Doesn't seem to be of high priority.
For security reasons stuff_char does not work by default on many
platforms, which makes such a fix even lower priority.
DIARY OF CHANGES
----------------