You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Offer to save changed view preferences to the user config on quit, including theme, layout, line numbers, wrapping, hunk headers, agent notes, and copy decorations. The prompt also includes a “never ask” option that persists `prompt_save_view_preferences = false`.
Copy file name to clipboardExpand all lines: AGENTS.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,6 +46,7 @@ CLI input
46
46
47
47
-`App` should remain the orchestration shell for app state, navigation, layout mode, theme, filtering, and pane coordination.
48
48
- Pane rendering should live in dedicated components.
49
+
- Confirmation prompts with a small set of choices should reuse `ConfirmDialog` (body rows plus a clickable key-legend action row) instead of composing `ModalFrame` with a hand-rolled footer; keyboard handling for its actions stays in `useAppKeyboardShortcuts`.
49
50
- New UI work should extend existing components or add new ones, not grow `App` back into a monolith.
50
51
- Shared formatting, ids, and small derivations belong in helper modules, not repeated inline.
51
52
- Prefer one implementation path per feature instead of separate "old" and "new" codepaths that duplicate behavior.
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -131,12 +131,14 @@ line_numbers = true
131
131
wrap_lines = false
132
132
menu_bar = true
133
133
agent_notes = false
134
+
prompt_save_view_preferences = true
134
135
transparent_background = false
135
136
```
136
137
137
138
`theme = "auto"` and `--theme auto` query the terminal background at startup, choose `github-light-default` for light backgrounds and `github-dark-default` for dark backgrounds, and fall back to `github-dark-default` if the terminal does not answer.
138
139
Older theme ids such as `graphite` and `paper` remain accepted as compatibility aliases.
0 commit comments