Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

tmuxp.cli.search.WorkspaceSearchResult

Python
  • Python
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust Unavailable
  • Go Unavailable
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

API reference · Markdown

class tmuxp.cli.search.WorkspaceSearchResult
class [source]
class [source]
class tmuxp.cli.search.WorkspaceSearchResult
Bases:
  • t.TypedDict

Search result for a workspace that matched.

Examples

>>> result: WorkspaceSearchResult = {
... "filepath": "/home/user/.tmuxp/dev.yaml",
... "source": "global",
... "fields": {
... "name": "dev",
... "path": "~/.tmuxp/dev.yaml",
... "session_name": "development",
... "windows": ["editor"],
... "panes": [],
... },
... "matches": {"name": ["dev"]},
... }
>>> result["source"]
'global'

Members

filepath

filepath : str
attribute [source]
attribute [source]
filepath

source

source : str
attribute [source]
attribute [source]
source

fields

fields : WorkspaceFields
attribute [source]
attribute [source]
fields

matches

matches : dict[str, list[str]]
attribute [source]
attribute [source]
matches
Esc

Type to search.