vcom/internal/state
vrubelroman 4ed81ef635 feat(state): atomic session in XDG_STATE_HOME; old UI saves theme via SetKey (2C.3)
state.Save writes session.toml atomically (0600, state dir 0700), drops
cursor-memory entries under cache/temp mounts and caps each pane at 200
entries; Load migrates the old ~/.config/vcom/session.toml once. The old
UI's session functions are aliases over state, and theme selection uses
config.SetKey, so the user's comments and keys survive. config.Save is gone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 23:37:23 +03:00
..
session.go feat(state): atomic session in XDG_STATE_HOME; old UI saves theme via SetKey (2C.3) 2026-10-31 23:37:23 +03:00
session_test.go feat(state): atomic session in XDG_STATE_HOME; old UI saves theme via SetKey (2C.3) 2026-10-31 23:37:23 +03:00