Wednesday, October 9, 2024

Tmux version 3.5 is Released, This isi Their New Feature


 

Tmux, the terminal multiplexer that lets you manage multiple terminal sessions within a single window, has just released version 3.5, bringing a host of updates and enhancements.

If you're unfamiliar with tmux, imagine splitting your terminal into various panes, each with a separate session, allowing you to detach and reconnect later. This proves incredibly beneficial for developers, system administrators, and anyone managing multiple processes simultaneously.

The most significant change in tmux 3.5 is the revamped extended keys support. Key handling has been extensively updated to closely mimic the behavior of xterm, now supporting both mode 1 and mode 2. This results in tmux consistently requesting mode 2 from the parent terminal, leading to more predictable key mapping behavior. A new option, extended-keys-format, has been introduced, offering control over the format similar to xterm's formatOtherKeys.

Overlays, such as popups and menus, now clear automatically when entering a command prompt, reducing visual clutter and enhancing the overall user experience. The new copy-mode -d flag allows users to scroll a page down while already in copy mode, mirroring the functionality of the existing -e flag.

Tmux 3.5 also allows hyperlinks to be displayed in copy mode, providing a more interactive experience when dealing with links in the terminal. Furthermore, two new formats, search_count and search_count_partial, have been added for better search management in copy mode.

Mirrored versions of the main-horizontal and main-vertical layouts have been added, enabling users to position the main pane at the bottom or right instead of the default top or left. This provides users with greater control over their workspace layout, allowing them to tailor it to their specific preferences.

Mouse move keys are now ignored unless explicitly requested by the application, and clicking on the status line no longer resets the mouse pane. These adjustments enhance the overall usability of mouse interactions within tmux.

Beyond these user interface refinements, tmux 3.5 introduces several performance and stability improvements. The REP command now functions with Unicode characters, and new workarounds have been implemented for certain Linux console bugs related to bright colors.

The introduction of the command-error hook provides users with greater control over errors within their session. This hook triggers whenever a command fails, allowing for more proactive error management. The new allow-set-title option provides users with the ability to prevent applications from modifying the pane title, ensuring a more consistent environment.

Other noteworthy additions include improved handling for mouse up events to prevent multiple released buttons from being ignored, crash prevention during pane focusing, and more reliable selection when deleting buffers. The escape-time has been reduced to 10 milliseconds by default, leading to a snappier response when utilizing tmux shortcuts.

Tmux 3.5, with its enhanced key handling, refined user interface, and various performance and stability improvements, represents a significant step forward for this powerful terminal multiplexer. It provides users with a more streamlined, flexible, and reliable experience, enhancing their ability to manage and navigate multiple terminal sessions efficiently. For a comprehensive overview of all changes, refer to the changelog.

0 comments:

Post a Comment