feat: shortcut recorder, configurable terminal toolbar, offline changelog
- Global shortcut setting: press-to-record input (Esc cancels, Backspace clears); requires a modifier or F-key so plain typing can't be hijacked - Terminal toolbar: three settings-gated buttons — session-log record (default off), open logs dir (default off), open working directory (default on, new; local sessions only, cwd tracked via cd/OSC 7) - Input suggestions + command history now default off, with a one-time migration that resets persisted true values for existing installs - Settings dialog: fix broken scrolling — antd v6 renamed the Tabs scroll container to .ant-tabs-body-holder; theme gallery drops its nested scroll (single outer scrollbar) - Offline changelog: CHANGELOG.md at repo root bundled via ?raw; About tab reads it first, network sources stay as fallback; scripts/sync-changelog.cjs merges RELEASE_NOTES.md per release (release.cjs fails without an entry) - commands.ts history prefs default aligned with new off-by-default
This commit is contained in:
1 parent
c1744184a3
commit
34094d607b
17 files changed
+319
-41
No files matched your search
+11
-2
@@ -40,6 +40,12 @@ export interface TerminalSettings {
|
||||
historyEnabled: boolean
|
||||
/** max entries kept in command history */
|
||||
historyLimit: number
|
||||
/** terminal toolbar: session-log record button */
|
||||
showRecButton: boolean
|
||||
/** terminal toolbar: open logs folder button */
|
||||
showOpenLogsButton: boolean
|
||||
/** terminal toolbar: open working-directory button (local sessions only) */
|
||||
showOpenCwdButton: boolean
|
||||
/** accent color for the active tab outline, rail indicator and SSH badges */
|
||||
tabAccentColor: string
|
||||
}
|
||||
@@ -117,9 +123,12 @@ export const DEFAULT_SETTINGS: AppSettings = {
|
||||
autoWrap: true,
|
||||
copyOnSelect: false,
|
||||
pasteRiskConfirm: true,
|
||||
suggestEnabled: true,
|
||||
historyEnabled: true,
|
||||
suggestEnabled: false,
|
||||
historyEnabled: false,
|
||||
historyLimit: 100,
|
||||
showRecButton: false,
|
||||
showOpenLogsButton: false,
|
||||
showOpenCwdButton: true,
|
||||
tabAccentColor: '#3fb950'
|
||||
},
|
||||
customThemes: [],
|
||||
|
||||
Reference in new issue
Block a user