session

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EncodeDir

func EncodeDir(dir string) string

EncodeDir converts a directory path to a session-safe ID by replacing path separators with dashes.

func Pick

func Pick(sessions []adapter.Session) (string, error)

Pick presents an interactive session picker and returns the chosen session ID. Falls back to a simple numbered list if the terminal doesn't support raw mode.

Types

This section is empty.

Jump to

Keyboard shortcuts

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