v1.0.0: add char-width and search-highlight to cl-tty library

char-width → cl-tty.box (text.lisp): terminal column width for Unicode
  characters including CJK, emoji, combining marks, and tab.

search-highlight → cl-tty.markdown: wraps query matches in **bold**
  markers for search result emphasis. Pure function, zero dependencies.
This commit is contained in:
2026-05-18 15:48:15 -04:00
parent af572d5a8c
commit 0b076c8def
3 changed files with 56 additions and 1 deletions

View File

@@ -115,7 +115,7 @@ not be relied upon by application code outside of tests.
#+BEGIN_SRC lisp :tangle ~/.local/share/cl-tty/src/components/package.lisp
;; Utilities (for tests)
#:word-wrap #:split-string
#:word-wrap #:split-string #:char-width
#+END_SRC
** Dirty tracking