docs(ui): describe responsive overlay drawers
- commit
- 0c7c6a2fd6c5f24f17e1c0f581cf93f4557b8454
- author
- brice · · 2026-07-27 16:34 UTC
- committer
- brice · · 2026-07-27 17:06 UTC
- parent
- 6f656a7
- signature
- GPG Verified
CD88F9E564E0102646FB6077A1A07C7C7C3E349D· arch-gpg Verified for the committer email
1 file · +8 -2
M docs/configuration.md +8 -2
| @@ -116,13 +116,19 @@ copy.word-separators = " -_@" | |||
| 116 | 116 | ||
| 117 | 117 | Set `copy.word-separators = ""` to use only Unicode whitespace as a separator. | |
| 118 | 118 | ||
| 119 | + | ## Responsive overlays | |
| 120 | + | ||
| 121 | + | On complete frames below 80 columns, interactive overlays use full-width bottom drawers immediately above the bottom bar. This applies to the floating terminal, command palette, session picker, notification history, prompts, and copy search. A drawer keeps its overlay's preferred outer height, capped at the frame height minus four rows, so frame rows 0–2 remain visible. Drawers use only a top border. | |
| 122 | + | ||
| 123 | + | Opening an interactive overlay dims the complete underlying frame, including panes, both bars, notices, and any lower-priority overlay. Notice toasts remain compact rather than becoming drawers. Copy mode remains full-screen; only its search prompt uses the responsive drawer. | |
| 124 | + | ||
| 119 | 125 | ## Palette anchor | |
| 120 | 126 | ||
| 121 | - | The command palette is centered by default. Set `palette.anchor` to another anchor to reposition it, or use `auto` for a bottom shelf on narrow terminals and a bottom-right rail from 96 columns up. Reload moves an open palette without losing your query. | |
| 127 | + | The command palette is centered by default. With `palette.anchor = auto`, it uses a full-width bottom shelf from 80 through 95 columns and a 64-column bottom-right rail from 96 columns up. Set an explicit anchor to position the shelf or rail. Below 80 columns, the palette is always a bottom drawer, so an explicit anchor does not override the responsive layout. Reload moves an open palette without losing your query. | |
| 122 | 128 | ||
| 123 | 129 | ## Floating terminal | |
| 124 | 130 | ||
| 125 | - | The command runs through your shell. A changed command applies on the next launch; changed dimensions on the next show or resize. Floating state is not restored across daemon restarts. | |
| 131 | + | The command runs through your shell. A changed command applies on the next launch; changed dimensions on the next show or resize. Below 80 columns, `floating.height` continues to determine the drawer's outer height, capped to preserve the first three frame rows and the bottom bar; `floating.width` is replaced by the full frame width. Floating state is not restored across daemon restarts. | |
| 126 | 132 | ||
| 127 | 133 | ## Bar anchors | |
| 128 | 134 | ||
| @@ -116,13 +116,19 @@ copy.word-separators = " -_@" | |||||
| 116 | 116 | ||||
| 117 | Set `copy.word-separators = ""` to use only Unicode whitespace as a separator. | 117 | Set `copy.word-separators = ""` to use only Unicode whitespace as a separator. | ||
| 118 | 118 | ||||
| 119 | + | ## Responsive overlays | |||
| 120 | + | ||||
| 121 | + | On complete frames below 80 columns, interactive overlays use full-width bottom drawers immediately above the bottom bar. This applies to the floating terminal, command palette, session picker, notification history, prompts, and copy search. A drawer keeps its overlay's preferred outer height, capped at the frame height minus four rows, so frame rows 0–2 remain visible. Drawers use only a top border. | |||
| 122 | + | ||||
| 123 | + | Opening an interactive overlay dims the complete underlying frame, including panes, both bars, notices, and any lower-priority overlay. Notice toasts remain compact rather than becoming drawers. Copy mode remains full-screen; only its search prompt uses the responsive drawer. | |||
| 124 | + | ||||
| 119 | ## Palette anchor | 125 | ## Palette anchor | ||
| 120 | 126 | ||||
| 121 | - | The command palette is centered by default. Set `palette.anchor` to another anchor to reposition it, or use `auto` for a bottom shelf on narrow terminals and a bottom-right rail from 96 columns up. Reload moves an open palette without losing your query. | 127 | + | The command palette is centered by default. With `palette.anchor = auto`, it uses a full-width bottom shelf from 80 through 95 columns and a 64-column bottom-right rail from 96 columns up. Set an explicit anchor to position the shelf or rail. Below 80 columns, the palette is always a bottom drawer, so an explicit anchor does not override the responsive layout. Reload moves an open palette without losing your query. |
| 122 | 128 | ||||
| 123 | ## Floating terminal | 129 | ## Floating terminal | ||
| 124 | 130 | ||||
| 125 | - | The command runs through your shell. A changed command applies on the next launch; changed dimensions on the next show or resize. Floating state is not restored across daemon restarts. | 131 | + | The command runs through your shell. A changed command applies on the next launch; changed dimensions on the next show or resize. Below 80 columns, `floating.height` continues to determine the drawer's outer height, capped to preserve the first three frame rows and the bottom bar; `floating.width` is replaced by the full frame width. Floating state is not restored across daemon restarts. |
| 126 | 132 | ||||
| 127 | ## Bar anchors | 133 | ## Bar anchors | ||
| 128 | 134 | ||||