v0.7.3: cl-tty TUI migration — replace Croatoan (ncurses CFFI) with cl-tty (pure CL) #1

Open
amr wants to merge 3 commits from refactor/cl-tty-tui into main
Showing only changes of commit e674dcb2e3 - Show all commits

View File

@@ -2659,7 +2659,7 @@ raw Croatoan codes / ~code-key~ conversion. Resize handled by cl-tty's
take a framebuffer-backend and use ~cl-tty.backend:draw-text~ instead
of Croatoan window operations (~add-string~, ~clear~, ~box~, ~refresh~).
*** TODO Fix render-styled (view.org)
*** DONE Fix render-styled (view.org)
~render-styled~ (Implementation section, v0.7.1 Markdown Rendering block)
still uses Croatoan's ~add-string~ and ~height~. This function is no
@@ -2677,7 +2677,7 @@ Also remove ~height~ window dimension access (only used in
from ~render-styled~ (it's not — it's used in the old view-chat
Croatoan code which has been replaced).
*** TODO Clean up render-styled's Croatoan references
*** DONE Clean up render-styled's Croatoan references
~parse-markdown-spans~, ~syntax-highlight~, ~parse-markdown-blocks~,
and ~gate-trace-lines~ are all pure CL utility functions that don't
@@ -2720,14 +2720,14 @@ src="org/channel-tui-view.org" lang="diff"
+ y)
"""
*** TODO Tangled view.lisp: remove #+end_src / #+begin_src artifacts
*** DONE Tangled view.lisp: remove #+end_src / #+begin_src artifacts
The ~#+end_src~ and ~#+begin_src~ lines from the org are appearing
inside the tangled lisp file because the code blocks were split without
adjusting the org structure. Clean up any org artifacts in the generated
.lisp files.
*** TODO Verify compilation
*** DONE Verify compilation
1. ~cl-tty.input:with-raw-terminal~ resolves (stty-based, defined in
text-input.org → input.lisp, exported from cl-tty.input package)
@@ -2737,5 +2737,5 @@ adjusting the org structure. Clean up any org artifacts in the generated
5. ~cl-tty.input:*terminal-resized-p*~ exported
6. ~cl-tty.rendering:backend-clear~ dispatches on framebuffer-backend
*** TODO Push branch and let user test
*** DONE Push branch and let user test