Skip to content

v0.1.3

Latest

Choose a tag to compare

@rizukirr rizukirr released this 09 Nov 11:16
· 2 commits to main since this release

Bug-fix release for POSIX input. No API or ABI change from v0.1.2. lt_version() returns "0.1.3".

Fixed

F1-F4 with a modifier held were dropped on POSIX. xterm, VTE and Windows Terminal send them as CSI 1;<mod> P..S (ESC[1;5P is Ctrl-F1), and the shared decoder's letter table only knew A B C D H F, so the sequence fell through as an empty event. They now decode on the first pass with the modifier handled like the cursor keys. Reported in #59.

The continuation bytes of a UTF-8 character were awaited only for the 50 ms escape window. Over ssh from a Windows client the bytes of one keystroke can arrive further apart, so the lead byte became U+FFFD and the tail a stray key. The tail reader now waits up to 500 ms. The escape disambiguation window is unchanged. Reported in #60.

Thanks to @gschenck for both reports.

Changed

README rewritten in shorter, plainer prose. The theme and resize examples are now listed.

Compatibility

ABI-compatible with the 0.1.x line. No symbol, signature or behaviour changed beyond the two fixes above.

Full Changelog: v0.1.2...v0.1.3