Documentation
¶
Index ¶
- func ClearActiveWorkSession(baseDir string) error
- func ClearFocus(baseDir string) error
- func DefaultPaneHeights() [3]float64
- func GetActiveWorkSession(baseDir string) (string, error)
- func GetFocus(baseDir string) (string, error)
- func GetPaneHeights(baseDir string) ([3]float64, error)
- func Load(baseDir string) (*models.Config, error)
- func Save(baseDir string, cfg *models.Config) error
- func SetActiveWorkSession(baseDir string, wsID string) error
- func SetFocus(baseDir string, issueID string) error
- func SetPaneHeights(baseDir string, heights [3]float64) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClearActiveWorkSession ¶
ClearActiveWorkSession clears the active work session
func DefaultPaneHeights ¶ added in v0.4.16
func DefaultPaneHeights() [3]float64
DefaultPaneHeights returns the default pane height ratios (equal thirds)
func GetActiveWorkSession ¶
GetActiveWorkSession returns the active work session ID
func GetPaneHeights ¶ added in v0.4.16
GetPaneHeights returns the configured pane heights, or defaults if not set
func SetActiveWorkSession ¶
SetActiveWorkSession sets the active work session ID
func SetPaneHeights ¶ added in v0.4.16
SetPaneHeights saves the pane height ratios to config
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.