tui: tui.toml configuration file support #43
Labels
No labels
area:agents
area:ai
area:config
area:dashboard
area:design
area:design-review
area:devtools
area:entities
area:gallery
area:generate
area:image
area:infra
area:meta
area:model-browser
area:navigation
area:presets
area:security
area:sessions
area:settings
area:sharing
area:test
area:ux
area:webhook
area:workdir
type:bug
type:chore
type:meta
type:user-story
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
charles/loom#43
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
User story
As a user, I want TUI-specific settings persisted in
$XDG_CONFIG_HOME/loom/tui.toml, so that loom-tui can run with my preferences without conflicting with loom-gtk's config.Acceptance criteria
Location & schema
$XDG_CONFIG_HOME/loom/tui.toml(fallback~/.config/loom/tui.toml)[tui]—image_protocol,theme,sidebar_width,gallery_columns,mouse_enabled,smooth_scroll[tui.keybinds]— action-id → combo override map[tui.log]— ring buffer size, level filterLoad / save
Config::load()returns(LoomTuiConfig, Vec<LoadWarning>); warnings go to the notification bar on startupConfig::save(&self)writes atomically (tempfile + rename) and creates a.bakof the previous contentIntegration
loom-corepath; loom-tui does not duplicate those fieldsTests
LoadWarningand fall back to defaults instead of failingOut of scope
References