Skip to content

Releases: tmux-python/tmuxp

v1.7.2 - packaging fix

03 Feb 16:17

Choose a tag to compare

#666 CI: Move test plugin packages from pyproject.toml to pytest fixtures. Fixes #658

v1.6.5

03 Feb 13:03

Choose a tag to compare

#665 Support for passing tmux config file (-f), thanks @jfindlay! Fixes #654

v1.7.0 - Plugin system, append windows to current session

09 Jan 15:03

Choose a tag to compare

This will be the last Python 2.7 release of tmuxp. Bug fixes for python
2.7 will live in the 1.7.x branch.

  • #530 New feature: Plugin system

    • Add plugin system for user customization of tmuxp
    • Add tests for the plugin system
    • Update existing tests for the plugin system
    • Add the plugin interface to the tmuxp package
    • Add in depth documentation for the plugin system

    Thank you @joseph-flinn!

  • #656 New feature: Ability to append windows to a session

    tmuxp load -a configfile will append a configuration to your current
    tmux session.

    Thank you @will-ockmore!

  • #647 Improvement: Logging to file:

    tmuxp load <filename> --log-level outputfile.log

  • #643 New command: Debug information

    Port tmuxp debug-info from via v1.6.2

v1.6.4

07 Jan 04:57

Choose a tag to compare

#651 Fix packaging issue with click, thanks @dougharris! Fixes #649

v1.6.3

07 Jan 04:56

Choose a tag to compare

  • #647 Adding option to dump load output to log file, thank you @joseph-flinn!

    tmuxp load file.yaml --log-file yourfile.txt

    Adjust log levels:

    tmuxp --log-level DEBUG load file.yaml --log-file yourfile.txt

v1.7.0a2

08 Nov 20:40

Choose a tag to compare

v1.7.0a2 Pre-release
Pre-release

Backport #643 from v1.6.2:

  • New command tmuxp debug-info for creating github issues, fixes #352. Thank you @joseph-flinn!

v1.6.2 - tmuxp debug-info

08 Nov 20:40

Choose a tag to compare

v1.7.0a1 plugin system

07 Nov 21:59

Choose a tag to compare

Pre-release
  • #530 Plugin system

    • Add plugin system for user customization of tmuxp
    • Add tests for the plugin system
    • Update existing tests for the plugin system
    • Add the plugin interface to the tmuxp package
    • Add in depth documentation for the plugin system

Thank you @joseph-flinn!

Any patches to 1.6.x will live in https://github.com/tmux-python/tmuxp/tree/v1.6.x

pip install -U --user tmuxp==1.7.0a1 --pre, https://pypi.org/project/tmuxp/1.7.0a1/

v1.6.1 - shell improvements

07 Nov 15:31

Choose a tag to compare

  • #641 Improvements to shell

    Thanks django-extensions (licensed MIT) for the shell detection abstraction.

    • Deprecate shell_plus

    • tmuxp shell now detects the best shell available by default

    • Python 3.7+ with PYTHONBREAKPOINT set in env will drop into pdb by
      default

    • Drop into code.interact by default instead of pdb if no third
      party shells found

    • New options, override:

      • --pdb: Use plain old breakpoint() (python 3.7+) or
        pdb.set_trace
      • --code: Drop into code.interact, accepts --use-pythonrc
      • --bpython: Drop into bpython
      • --ipython: Drop into ipython
      • --ptpython: Drop into ptpython, accepts --use-vi-mode
      • --ptipython: Drop into ipython + ptpython, accepts
        --use-vi-mode

1.6.0 - meet tmuxp shell

07 Nov 15:29

Choose a tag to compare

#636 New command: tmuxp shell and #638 tmuxp shell_plus

Automatically preloads session, window, and pane via libtmux api objects and makes them available in a python console.

tmuxp-shell

In python 3.7+, supports PYTHONBREAKPOINT:

$ pip install ipdb
$ env PYTHONBREAKPOINT=ipdb.set_trace tmuxp shell
You can execute python directly via -c:

$ tmuxp shell -c 'print(session.name); print(window.name)'
my_server
my_window

$ tmuxp shell my_server -c 'print(session.name); print(window.name)'
my_server
my_window

$ tmuxp shell my_server my_window -c 'print(session.name); print(window.name)'
my_server
my_window

$ tmuxp shell my_server my_window -c 'print(window.name.upper())'
MY_WINDOW

tmuxp shell_plus has autocompletion