nex_squid/crates
mula.liu 34d88d6e33 Draw what the Windows console can actually carry
Measured by driving the real binary through a pseudoconsole that sshd hands out
(`scripts/win-tui-capture.sh`), then decoding the bytes it emitted.

The lock glyph was U+1F512. Every astral-plane character comes back out of a
conhost/ConPTY session as U+FFFD followed by the glyph, i.e. one cell too many,
which shifted every locked row in the list by one column. `⊘` is in the BMP,
one cell wide, and survives the same session; the other glyphs in use were
checked the same way.

A row wider than its card used to spill: `joined` collapsed the filler to
nothing and the terminal cut off whatever came last, which is the right half —
the delete mode the user is about to act on. Now the left half yields, giving
up whole spans before cutting one in half. This is what the longer Windows name
for the recycle bin exposed at 100 columns, where "empties only with the
Recycle Bin" had swallowed "delete to · Recycle Bin" whole.

The status row's trailing note is the one part of that line the user is not
acting on, so it is dropped rather than allowed to push the mode off the card.
Both languages were re-checked on the box afterwards: no replacement characters
left, and the note still shows wherever it fits.

`the_recycle_bin_is_called_what_the_os_calls_it` pins the new copy rule; the
group-name test now expects the operating system's word for that one group,
which is why it fails on Windows and passes on macOS until the rule is stated.
2026-10-15 18:54:51 +08:00
..
squid-cli squid 0.1.0: macOS 磁盘清理(CLI + TUI) 2026-10-13 17:00:50 +08:00
squid-core Measure long paths, and clean up after a failing fixture 2026-10-15 18:53:31 +08:00
squid-engine Stop matching path separators in suffixes 2026-10-15 16:51:00 +08:00
squid-platform Let the platform answer questions about the platform 2026-10-15 18:54:51 +08:00
squid-rules Windows: safety layer, rule engine fixes, and 30 built-in cleanup rules 2026-10-15 15:23:19 +08:00
squid-stats Windows: real platform layer, recycle-bin trash backend, cross-compile CI 2026-10-15 14:56:55 +08:00
squid-tui Draw what the Windows console can actually carry 2026-10-15 18:54:51 +08:00