v0.4.2 — textarea + readline editing
v0.4.2 — textarea + readline editing
Added:
textarea/1— multi-line text area on a flat grapheme cursor, with
opt-in word wrap (wrap: true) measured in display cells.- Readline-style editing in
Harlock.TextBuffer: word motions, kills
that return removed text, and a capped kill ring with yank. Shared by
text_inputandtextarea.
Changed:
- A focused
text_inputnow consumes ctrl/alt editing keys that
previously fell through toupdate/2. Opt out withhandle_keys: false. - The termios NIF build is skipped on hosts that can't support it
(:win32, orHARLOCK_SKIP_NIF=1), so the pure-Elixir majority of the
library compiles and tests without a C toolchain. - Vertical motion preserves the display column rather than the grapheme
index — a behaviour change for values containing wide graphemes.
Still open: goal-column memory for vertical motion.
Full notes in CHANGELOG.md.