fix: reset cursor on enter dir and persist full cursor memory across sessions
This commit is contained in:
parent
d5569ecdd0
commit
a9ccff8635
2 changed files with 41 additions and 9 deletions
|
|
@ -17,8 +17,9 @@ type SessionState struct {
|
|||
|
||||
// PaneSession stores per-pane session state (path and selected entry name).
|
||||
type PaneSession struct {
|
||||
Path string `toml:"path"`
|
||||
EntryName string `toml:"entry_name"`
|
||||
Path string `toml:"path"`
|
||||
EntryName string `toml:"entry_name"`
|
||||
CursorMemory map[string]string `toml:"cursor_memory"`
|
||||
}
|
||||
|
||||
// DefaultSessionPath returns the path to the session file.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue