mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-28 11:41:04 +00:00
feat(ui): add customizable status line
Allow users to configure a custom shell command to display in the UI footer status line.
This commit is contained in:
parent
6785a8d908
commit
6784f0c02c
10 changed files with 116 additions and 13 deletions
|
|
@ -429,6 +429,16 @@ const SETTINGS_SCHEMA = {
|
|||
description: 'The color theme for the UI.',
|
||||
showInDialog: true,
|
||||
},
|
||||
statusLine: {
|
||||
type: 'string',
|
||||
label: 'Status Line',
|
||||
category: 'UI',
|
||||
requiresRestart: false,
|
||||
default: undefined as string | undefined,
|
||||
description:
|
||||
'Shell command to execute periodically to display custom information in the status line (e.g., "curl -s api/rate-limit | jq .remaining").',
|
||||
showInDialog: true,
|
||||
},
|
||||
customThemes: {
|
||||
type: 'object',
|
||||
label: 'Custom Themes',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue