Aller au contenu
login
arrow_backRetour aux issues
vshulcz/deja-vu #1411

the brief's own wire line does not fit a 60-column pane

ecoDébutant good first issue

descriptionDescription

#604 budgeted the brief's lines against the terminal so a 60-column split pane stops wrapping them. The lines carrying transcript text were budgeted; deja's own copy was not, and one line of it does not fit: ``` COLUMNS=60 wire no agent is wired to this yet — `deja install --auto` 64 columns ``` Four columns over, so it wraps to a second line with `--auto` alone on it. This is the line a fresh install shows — the store has sessions, nothing is wired yet — so it is on the first screen a new user sees, which is the screen #604 was about. Measured on a store with three sessions and no hooks installed, at COLUMNS=60, 80 and 120. Every other line of the brief fits 60 today: the header is 39, `covering` 36, `more` 44, and the `recent` lines are budgeted (they overflow only for CJK titles, which #1401 fixes). The fix is a shorter sentence, which is your wording rather than a bug, so I have not touched it. Two shapes that fit, for what they are worth: ``` wire nothing wired yet — `deja install --auto` 52 wire no agent wired yet — `deja install --auto` 53 ``` Found by the night hunt, iteration 100.
codeOuvre sur GitHub