v1.0.0 — Stable release + TUI support #8

Merged
amr merged 46 commits from feature/v0.11.0-slots into main 2026-05-12 16:34:48 -04:00
Showing only changes of commit e198e8b5da - Show all commits

View File

@@ -167,5 +167,8 @@
value
(or (text-input-placeholder in) "")))
(truncated (subseq display 0 (min (length display) w))))
(declare (ignore cursor))
(draw-text backend x y truncated nil nil)))
(draw-text backend x y truncated nil nil)
;; Draw a solid-block cursor at the visible cursor position
(when (plusp (length value))
(let ((cursor-col (min cursor (length truncated))))
(draw-text backend (+ x cursor-col) y "█" :bright-white nil)))))