mirror of
https://github.com/tmux/tmux.git
synced 2026-09-23 13:23:57 +00:00
238067acbf7fba45a563f449a6a515250b055b3e
Brings in the WezTerm/ghostty/Windows Terminal DECSLRM (margins) coverage from margins-terminal-detection (PR #5630), plus whatever independent upstream progress that branch's master base had accumulated since this branch last merged from master. Conflict in screen-redraw.c's redraw_draw_pane_prompt(): this branch's own earlier refactor (extracting redraw_make_pane_prompt(), reused by both the normal redraw path and the Finding-2 damage-composition fix) collided with an independent upstream fix on master (nicm, "Get x and y the right way round, fixes crash when opening a mode prompt when the client is offset into the window") that swapped tty_draw_line()'s px/py argument order in this same function - this branch had diverged before that fix landed and still had the pre-fix (buggy) order. Resolved by keeping this branch's own refactor with the corrected argument order, verified against tty_draw_line()'s signature (px, py - the prompt's screen is always exactly one row, so py must be 0 and px must be the horizontal offset; the pre-fix order passed the offset as the row instead, matching the described crash). The other, structurally identical call site added this session for Finding 2 (redraw_damage_draw_pane_prompt()) already had the correct order and needed no change. Verified: build clean; the new tty-margins-wt-session.sh and this session's existing wide-character/prompt/cross-client tests all pass (3x each); full regress suite passes clean twice, with only the same pre-existing, unrelated failures already characterized this session (prompt-words-history.sh, and untracked image-*-noflash scratch tests from unrelated work, absent from this branch's own tracked suite). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Welcome to tmux! tmux is a terminal multiplexer: it enables a number of terminals to be created, accessed, and controlled from a single screen. tmux may be detached from a screen and continue running in the background, then later reattached. This release runs on OpenBSD, FreeBSD, NetBSD, Linux, macOS and Solaris. * Dependencies tmux depends on libevent 2.x, available from: https://github.com/libevent/libevent/releases/latest It also depends on ncurses, available from: https://invisible-mirror.net/archives/ncurses/ To build tmux, a C compiler (for example gcc or clang), make, pkg-config and a suitable yacc (yacc or bison) are needed. * Installation To build and install tmux from a release tarball, use: $ ./configure && make $ sudo make install tmux can use the utempter library to update utmp(5), if it is installed - run configure with --enable-utempter to enable this. To get and build the latest from version control - note that this requires autoconf, automake and pkg-config: $ git clone https://github.com/tmux/tmux.git $ cd tmux $ sh autogen.sh $ ./configure && make $ sudo make install * Contributing Bug reports, feature suggestions and especially code contributions are most welcome. Please send by email to: tmux-users@googlegroups.com Or open a GitHub issue or pull request. * Documentation For documentation on using tmux, see the tmux.1 manpage. View it from the source tree with: $ nroff -mdoc tmux.1|less A small example configuration is in example_tmux.conf. Other documentation is available in the wiki: https://github.com/tmux/tmux/wiki Also see the tmux FAQ at: https://github.com/tmux/tmux/wiki/FAQ A bash(1) completion file is at: https://github.com/scop/bash-completion/blob/main/completions/tmux For debugging, run tmux with -v and -vv to generate server and client log files in the current directory. * Support The tmux mailing list for general discussion and bug reports is: https://groups.google.com/forum/#!forum/tmux-users Subscribe by sending an email to: tmux-users+subscribe@googlegroups.com * License This file and the CHANGES files are licensed under the ISC license. All other files have a license and copyright notice at their start.
Description
Languages
C
73%
Shell
19.3%
Roff
5.6%
Yacc
0.9%
M4
0.7%
Other
0.4%