VviLliAm-qwq/dshtui-format-setting ↗★ 0

dshtui-format-setting

提供窗口设置卡片:启动时自动最大化并控制界面参数 适合关注窗口体验的用户,启用后可在设置中直接切换最大化选项

套件
dshtui-format-setting
相容性
待驗證
Cordis 依賴範圍
^4.0.1
版本
0.3.2
授權
MIT
最近更新
2026年9月13日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:VviLliAm-qwq/dshtui-format-setting

dshtui-format-setting

ci

English · 中文

Built for dsh-TUI.

Lightweight window settings for dsh-tui.

  • Maximize on startup — dsh-tui maximizes the terminal window when it starts. It lives in the Window section of the settings screen: one switch, applied the moment it is turned on.
  • The switch is shown directly on the section card; there is no group page to open first (since 0.3.0).
  • The settings card is bilingual (Chinese/English), rendered by the host in the language /lang selected.
  • Window control goes through Win32 APIs (the classic console host); any other host degrades to a warning log instead of failing.
  • Removed in 0.2.0: font settings (5+ families, 12–28 sizes, per-user font installation), size presets and “save current size”.
  • 0.3.0: the “Style / Startup window settings” group page is gone; the section is named Window and the switch sits directly on it.

Restart dsh-tui after installing.

Install

dsh plugin --profile dsh-tui add dshtui-format-setting

Restart dsh-tui (/restart) afterwards.

Settings

FieldTypeDefaultMeaning
Maximize on startupbooleanfalseMaximize the terminal window when dsh-tui starts; turning it on applies immediately.

Limitations

  • Window control is Win32-only (the classic console host). On other hosts the plugin logs a warning and does nothing.
  • The plugin registers the settings namespace dshtui-format-setting; a host without a settings service keeps the switch inert rather than failing.

Publishing

  • Repository: (public)
  • Release: v* tags drive .github/workflows/release.yml, which publishes to npm through trusted publishing (OIDC) — no token is stored in the repository.

License

MIT — see LICENSE.