config

package
v0.12.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 15, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClearActiveWorkSession

func ClearActiveWorkSession(baseDir string) error

ClearActiveWorkSession clears the active work session

func ClearFocus

func ClearFocus(baseDir string) error

ClearFocus clears the focused issue

func DefaultPaneHeights added in v0.4.16

func DefaultPaneHeights() [3]float64

DefaultPaneHeights returns the default pane height ratios (equal thirds)

func GetActiveWorkSession

func GetActiveWorkSession(baseDir string) (string, error)

GetActiveWorkSession returns the active work session ID

func GetFocus

func GetFocus(baseDir string) (string, error)

GetFocus returns the focused issue ID

func GetPaneHeights added in v0.4.16

func GetPaneHeights(baseDir string) ([3]float64, error)

GetPaneHeights returns the configured pane heights, or defaults if not set

func Load

func Load(baseDir string) (*models.Config, error)

Load reads the config from disk

func Save

func Save(baseDir string, cfg *models.Config) error

Save writes the config to disk

func SetActiveWorkSession

func SetActiveWorkSession(baseDir string, wsID string) error

SetActiveWorkSession sets the active work session ID

func SetFocus

func SetFocus(baseDir string, issueID string) error

SetFocus sets the focused issue ID

func SetPaneHeights added in v0.4.16

func SetPaneHeights(baseDir string, heights [3]float64) error

SetPaneHeights saves the pane height ratios to config

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL