Repository navigation
Emoji no longer close KofTerm, and a narrow window says why the column is gone. Everyone on 0.9.0 should update. Tested by Pedro in QTerminal on Kali.
Fixed
- KofTerm 0.9.0 closed (
substring cannot split an astral code point) when an emoji above U+FFFF, such as 😀 or 👍🏽, was typed, was in the name of the current folder, or was in the output of a command that failed. Every cut of a text now steps over both halves of such a character.
Added
- Right width for emoji and wide characters. The widths come from glibc's
wcwidth. 😀 and Chinese, Japanese and Korean characters take two columns, and combining accents and skin tones join the character before them. The typed line, the cursor, the column and the TAB list stay aligned. - Editing keys. The arrows, Backspace, Delete and Ctrl+W move over and delete an emoji whole.
- Narrow window. Below 69 columns, the bottom line explains why the column is gone and how to bring it back (widen the window or make the font smaller with Ctrl -). F2 shows the same notice instead of a beep.
- Very small window. Below 20×5, KofTerm shows "window too small" with the size, and the screen comes back when the window grows.
- Selftest.
kofterm selftesthas 22 checks: one more puts an emoji in the typed line, in a folder name and in the output of a failed command.
Install (no KOF needed)
sha256sum -c SHA256SUMS
tar -xzf kofterm-0.9.1-linux-x86_64.tar.gz && ./kofterm-0.9.1-linux-x86_64/kofterm installUpdating from source: cd ~/kofterm && git pull && ./install.sh, then reopen KofTerm (kofterm update shows the right command for your install).
Site: https://datadotpdf.github.io/kofterm/ · Full changelog: CHANGELOG.md