fix exit app

This commit is contained in:
2026-01-21 10:51:45 -05:00
parent b14ba33c3a
commit 9fe0ac2c6e
3 changed files with 20 additions and 9 deletions
+6
View File
@@ -103,6 +103,12 @@
(.close r)
(reset! tty-reader nil)))
(defn input-ready?
"Check if input is available without blocking."
[]
(when-let [r @tty-reader]
(.ready r)))
(defn read-char
"Read a single character. Blocking."
[]