libtmux
libtmux copied to clipboard
⚙️ Python API / wrapper for tmux
Should / could `server` be used as a way power tmuxp? Perhaps it could listen to control mode?
```python server = Server.new() server = Server.connect() @dataclasses.dataclass class Server: @classmethod def new(): pass @classmethod def connect(socket='') pass session = '' # Find a way to have session be Session...
Requires we update https://github.com/tmux-python/tmux-manuals and see the diffs too
https://docs.pytest.org/en/7.1.x/how-to/monkeypatch.html
A user may want to patch `config_file` to have a different config option / or some difference for just 1 set or a set of tests. Document this and test...
Even if we don't cover them yet we should assert this works To maximize future compatibility - even in older libtmux versions where the system may have a newer `tmux(1)`
Extracted from #513 > [!WARNING] > APIs below are subject to change (both params, return types, and structures) # Changes ## New internal: `OptionsMixin` - `show_options()`: High level objects, e.g....
Hooks
# Changes - Hooks (WIP) # See also - https://github.com/tmux-python/tmuxp/pull/905 - #516