Tony Narlock
Tony Narlock
# Changes ## Add pytest-xdist dev package See also: - https://pypi.org/project/pytest-xdist/ - https://github.com/pytest-dev/pytest-xdist # See also - https://github.com/tmux-python/libtmux/issues/468 - https://github.com/ansible/ansible-navigator/pull/1685 - https://github.com/ansible/ansible-navigator/pull/1663
Works as of tmux 3.0 ([changes](https://github.com/tmux/tmux/blob/3.3/CHANGES#L816-L817)): > * Add a -e flag to new-window, split-window, respawn-window, respawn-pane to > pass environment variables into the newly created process. # Examples ```...
Can be [dataclass](https://docs.python.org/3/library/dataclasses.html). - `ServerOption` - `SessionOption` - `WindowOption` - `PaneOption` - `Option` = `ServerOption` + `SessionOption` + `WindowOption` + `PaneOption` Consider [pydantic](https://docs.pydantic.dev/), for its field's: - [`alias`](https://docs.pydantic.dev/latest/concepts/fields/#field-aliases): for marshalling...
#370 - [ ] Create snapshots - [ ] Diff snapshots - [ ] pytest diff
via https://github.com/tmux-python/libtmux/pull/493 by @tjni: > This was added in https://github.com/tmux-python/libtmux/commit/3bc03fbcaa0c9d7719d9c537645d299b016f8d36 to support pip install -e . but I noticed that (per https://github.com/python-poetry/poetry/issues/34#issuecomment-1193722065), this is fixed in pip >= 21.3. >...
e.g. ```python @dataclasses.dataclass class Pane: width = TmuxFormatField(format_variable='pane_width') ``` ```python Pane._meta.format_map = { 'width': 'pane_width' } ```
This is an existential issue for libtmux / tmuxp I think it's going to take some thinking. Ideas: - sending a sentinel command made to figure out what the PS1...
Re: https://github.com/tmux-python/tmuxp/pull/844 See also: #454 #456
#444 it seems the test will always pass, even before the change that, when verified by hand, permits `window_name: ''` to work (or else it'd default to `zsh` or whatever...