v1.0.0: TUI support — resize events, with-terminal macro
This commit is contained in:
@@ -704,7 +704,6 @@ All the complexity lives in ~%read-event~ and its callees.
|
||||
|
||||
#+BEGIN_SRC lisp :tangle ../src/components/input.lisp
|
||||
(defmethod read-event ((b cl-tty.backend:backend) &key timeout)
|
||||
(declare (ignore b))
|
||||
;; Check for pending terminal resize before reading input.
|
||||
;; The SIGWINCH handler sets *terminal-resized-p* asynchronously.
|
||||
(when *terminal-resized-p*
|
||||
|
||||
Reference in New Issue
Block a user