Skip to content

Releases: loichyan/tmux-toggle-popup

0.4.0 (2024-11-23)

23 Nov 13:05
5243994
Compare
Choose a tag to compare

Added

  • Add a new toggle mode, switch, which always reuses the currently opened window when switching to another popup (#21).

Changed

  • [breaking] Replace @popup-toggle --force with --toggle-mode=force-close (#21).
  • [breaking] Replace tmux variable #{@popup_name} in @popup-id-format with the {popup_name} placeholder (#21).

Fixed

  • Disable potential tmux messages from popups (#23).

0.3.0 (2024-10-21)

21 Oct 10:58
a93b5ba
Compare
Choose a tag to compare

We've implemented several improvements to make it easier for other programs to integrate with this plugin (#5, #9, thanks @cenk1cenk2). You can now override popup global options on the fly using the newly added arguments of @popup-toggle.

Added

  • Support autostart popup server (13bb98a).
  • Set an env variable to identify popup servers (d95d654).
  • Support bind additional toggle keys in popups (#9).
  • Support override global options through @popup-toggle (#5).

Changed

  • [breaking] Use xargs(1) and printf(1) to parse tmux commands (#8). This allows you to input ; directly as the command delimiter without worrying about Bash's interpretation. The new parser may yield results that differ from the previous version, although this is usually not the case.

Fixed

  • Always retrieve option values from global (61789c7).
  • Address the breaking changes in display-popup introduced in tmux versions 3.5 and 3.5a (#14).

0.2.0 (2024-06-05)

05 Jun 14:51
v0.2.0
1919757
Compare
Choose a tag to compare

Added

  • Add two new hooks: @popup-before-open and @popup-after-close (#2).
  • Add @popup-focus, primarily used as a workaround of tmux/tmux#3991 (#3).
  • Support close a popup if no argument passed to @popup-toggle (5ef9ea4).

Changed

  • [breaking] Use bash(1) to parse tmux commands, thus semicolons in hooks (@popup-on-open and @popup-on-close) must now be explicitly escaped or quoted (#1).
  • [breaking] Rename @popup-on-open to @popup-on-init (#2).

Removed

  • [breaking] Remove @popup-on-close, as it cannot handle popup exits. Instead, consider setting the client-detached and pane-exited tmux hooks in @popup-on-init (#2).

Fixed

  • Hide messages of tmux commands in popups (5eb66cd).

0.1.0 (2024-05-28)

05 Jun 14:50
v0.1.0
658abaf
Compare
Choose a tag to compare

🎉 Initial release. See README for more details.