mirror of
https://github.com/l0ng-ai/tty7.git
synced 2026-09-21 16:02:20 +00:00
docs(changelog): four more, three of them things a user would see
A newline in a filename, a remote name, or a completion description broke the row drawing it — the layout breaks on a newline whatever the row asks for, so the row grew and everything below it slid. 122 of the shipped completion specs carry one. A tab path starting at `~` was drawn with a leading ellipsis that stood for nothing, while an absolute path of the same shape kept its root. An internationalised domain came back as the bare scheme `https://`, offered as a clickable link that opens nowhere. And the PNG decode ceiling on the untrusted graphics path was the image library's 512 MiB default rather than tty7's own, in the GUI process. Twenty-nine written up. No code changes.
This commit is contained in:
@@ -153,6 +153,34 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
### Fixed
|
||||
|
||||
- **A newline in a name no longer breaks the row drawing it.** A filename is
|
||||
bytes to the kernel, so `touch $'a\nb'` makes a file the tree has to draw,
|
||||
and the layout breaks text on a newline whatever the row asks for: the row
|
||||
grows to two lines and every row below it slides down. The same held for a
|
||||
remote name in the SFTP panel and for completion descriptions — 122 of the
|
||||
shipped completion specs carry a newline, ten of them early enough that the
|
||||
second line painted over whatever the menu was floating above. All three now
|
||||
fold the break where the text is drawn, and only there, so the real name is
|
||||
still what gets renamed or removed.
|
||||
|
||||
- **A tab whose path starts at `~` no longer claims to have omitted
|
||||
something.** `~/repo/025/tty7` was drawn as `…/repo/025/tty7` while
|
||||
`/usr/local/bin` of the same shape kept its root, because `~` was counted
|
||||
toward the path's depth. The cut bought nothing — `~` and `…` are one
|
||||
character each — and an ellipsis is a claim that something was left out.
|
||||
|
||||
- **An internationalised domain is no longer offered as a broken link.**
|
||||
`https://例え.jp` in a pane came back as the link `https://`, which opens
|
||||
nowhere. The scan is ASCII-only on purpose, so that a URL followed by CJK
|
||||
text does not swallow the rest of the sentence; what it must not do is hand
|
||||
back the bare scheme it was left with.
|
||||
|
||||
- **The PNG decode ceiling is tty7's own number.** A kitty graphics escape is
|
||||
untrusted — any program in a pane can print one — and every other bound on
|
||||
that path is deliberate. The PNG branch left its limit to the image
|
||||
library's default of 512 MiB, eight times tty7's own ceiling and somebody
|
||||
else's number to change; this runs in the GUI process.
|
||||
|
||||
- **Searching for `Error` finds `error` again.** With case sensitivity off —
|
||||
the default — typing a capital found nothing on a screen full of matches.
|
||||
The regex engine applies smart case of its own, turning matching insensitive
|
||||
|
||||
Reference in New Issue
Block a user