Show the walk's path on the line below its display (closes #160)
check / check (push) Canceled after 0s
check / check (push) Canceled after 0s
On a terminal, each draw of the walk shows the path of the last file it found on the line below, cut short before the last column with wide characters counted as two columns. The progressbar library's detail row draws it. Control characters in the path are written out, as \t or \x1b, so that the terminal does not act on them. The line is erased before a warning and when the walk ends, so the next phase is drawn on it. Nothing changes when stderr is not a terminal. github.com/rivo/uniseg, already in the module graph through the progressbar library, becomes a direct dependency for the column count. Model: opus-5-5
This commit is contained in:
1 parent
db56fd0e4c
commit
684c3680c9
6 files changed
+269
-10
No files matched your search
@@ -29,6 +29,12 @@
|
||||
Newest first. An entry ends with its date and its issue or branch, where those
|
||||
are known.
|
||||
|
||||
- On a terminal, the line below the `walk` display shows the path of the last
|
||||
file the walk found, at each draw. Its control characters are written out, as
|
||||
`\t` or `\x1b`, so that the terminal does not act on them. The line is erased
|
||||
when the walk ends, and the next phase is drawn on it (2026-11-11,
|
||||
https://git.eeqj.de/sneak/sfdupes/issues/160)
|
||||
|
||||
- The help of `sfdupes` and of `scan` names the database, its default path and
|
||||
`SFDUPES_DATABASE`. The help of `report` and `trees` lists the columns, the
|
||||
order of the rows and the escapes. The help of `info` lists its lines. The
|
||||
|
||||
Reference in new issue
Block a user