Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type JSONSession ¶ added in v0.7.0
type JSONSession struct {
Source string `json:"source"`
ID string `json:"id"`
Locator string `json:"locator"`
CWD string `json:"cwd"`
CWDBasename string `json:"cwd_basename"`
Label string `json:"label"`
LastEpoch int64 `json:"last_epoch"`
LastActivity string `json:"last_activity"`
CWDExists bool `json:"cwd_exists"`
CWDUnknown bool `json:"cwd_unknown"`
}
type Options ¶
type Options struct {
Grep string
// ExcludeDir drops sessions whose cwd (or basename, when cwd is empty)
// contains this substring, case-insensitive. Empty disables the filter.
ExcludeDir string
Regex bool
NoColor bool
// Color overrides auto-detection: "always", "never", or "" (auto).
// --no-color and NO_COLOR still force off when Color is empty/auto.
Color string
JSON bool
Limit int
Out io.Writer
}
Options controls list output.
Click to show internal directories.
Click to hide internal directories.