feat(tui): add option to remember view state between sessions (#17)

This commit is contained in:
Karol Broda authored and GitHub committed 2025-12-25 18:22:54 +01:00
1 parent 5414e39e61
commit 1cff272fff
7 files changed
+483 -22

No files matched your search

+6 -5
View File
@@ -33,11 +33,12 @@ var topCmd = &cobra.Command{
resolver.SetNoCache(effectiveNoCache)
opts := tui.Options{
Theme: theme,
Interval: topInterval,
ResolveAddrs: resolveAddrs,
ResolvePorts: resolvePorts,
NoCache: effectiveNoCache,
Theme: theme,
Interval: topInterval,
ResolveAddrs: resolveAddrs,
ResolvePorts: resolvePorts,
NoCache: effectiveNoCache,
RememberState: cfg.TUI.RememberState,
}
// if any filter flag is set, use exclusive mode