|
From: <don...@is...> - 2025-11-04 00:49:36
|
This probably only happens in #+unix and I so far only can reproduce it when running clisp from an emacs shell buffer: Type :h and hit Enter for context help. [1]> 1 2 3 I use emacs to create three lines: I type 1, c-o, c-f, 2, c-o, c-f, 3 then enter to send it all 1 [2]> 2 [3]> 3 as expected I get three top level events. [4]> (with-keyboard (read-char *keyboard-input*)) y #S(SYSTEM::INPUT-CHARACTER :CHAR #\y :BITS 0 :FONT 0 :KEY NIL) now try that again [5]> 1 2 3 1 [6]> and now the top level only sees the first line. Outside of emacs I don't even know how to send three lines at once. I see in src/keyboard.lsp that under #+unix with-keyboard sets *keyboard-input*, but setting it back to nil does not make the multiple lines get read again. So what's going on here? |