Commit ac12477
committed
docs: haversack-wishlist 2d — #OPTION should override CLI flag defaults
Surfaced verifying §5a's flag-reset fix from the Haversack side: with
the host shim applying ['-nowrap'] at init (browser pane reflows
visually, so column-wrap splits tokens mid-string), a per-script
#OPTION COLUMNS 40 directive becomes effectively ignored — it sets
print_width=40 correctly, but terminal_no_wrap=1 from the init flag
is still in force. The wrap check short-circuits and the script-
author's intent loses to the env default.
Proposed mental model: #OPTION is per-script intent, -flags are
environment defaults; per-script intent should win for the same
conceptual setting.
Concrete behaviour shift: #OPTION COLUMNS N implicitly clears
terminal_no_wrap=0 (since opting into a column count is opting into
wrap-at-that-width). Alternative API noted: dedicated #OPTION wrap
counterpart. Implicit-via-COLUMNS preferred because it matches the
obvious reading of the directive.1 parent c5363c5 commit ac12477
1 file changed
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
62 | 78 | | |
63 | 79 | | |
64 | 80 | | |
| |||
0 commit comments