fix(web): label only the first prompt row with the working directory
A multi-line command repeated the cwd label on every prompt row, which states something the view does not know: it carries ONE working directory — where the call started — and a `cd` in the command moves later lines elsewhere. `cd ~` then `ls` rendered both rows labelled with the session workspace while `ls` actually listed the home directory. The label now appears on the first row only, and later rows keep a bare `$` so they still read as prompts. Same reasoning as the run-state dot: neither a per-line directory nor a per-line exit status exists to report. The built-bundle snapshot records the effect on fixture turn 60's two-line command (`fixture echo done` becomes `$ echo done`).
This commit is contained in:
@@ -2,5 +2,5 @@
|
||||
# side as of the last confirmed-consistent state. Both languages carry equal authority;
|
||||
# after editing either side, bring the other along and re-record with:
|
||||
# pnpm run verify-translation-pairing --write packages/client/ui-primitives/README.md
|
||||
README.md: 5d71aa920707462f953ed4eb5572b0530b8d0ed2
|
||||
README.zh.md: 7c59ed3d3bacbac06a0123e6ff93023a1bcbd028
|
||||
README.md: 4222aac4fa1d9c89a3d3c702ee8391fba1eef178
|
||||
README.zh.md: e7a5b5ad57048bc59872963b0068c6f88fc772f8
|
||||
|
||||
Reference in New Issue
Block a user