v0.7.3: cl-tty TUI migration — replace Croatoan (ncurses CFFI) with cl-tty (pure CL) #1
Reference in New Issue
Block a user
Delete Branch "refactor/cl-tty-tui"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Replaces Croatoan (ncurses CFFI) with cl-tty (pure CL, no FFI) as the terminal rendering backend for the TUI channel.
Changes
:croatoan→:cl-ttydependency:usepackage list, theme-color returns hex stringswith-raw-terminal+with-terminal+ framebuffer-backend. Key dispatch viaread-eventwith structured events. SIGWINCH resize handling.cl-tty.backend:draw-texton framebuffer-backend instead of Croatoan window operationsadd-string/heightto cl-ttydraw-text#\)character literal ambiguity in org source (CL reader vs paren counter)defun on-key(the t clause last setf had 7 trailing parens, needed 8)Verification
(ql:quickload :passepartout/tui)compiles cleanly under SBCL 2.5.2Prerequisite
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.