| Commit message (Collapse) | Author | Age |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
of storing a full grid_cell with UTF-8 data and everything, store a new
type grid_cell_entry. This can either be the cell itself (for ASCII
cells), or an offset into an extended array (per line) for UTF-8
data.
This avoid a large (8 byte) overhead on non-UTF-8 cells (by far the
majority for most users) without the complexity of the shadow array we
had before. Grid memory without any UTF-8 is about half.
The disadvantage that cells can no longer be modified in place and need
to be copied out of the grid and back but it turned out to be lot less
complicated than I expected.
|
|
|
|
| |
it once at startup instead of in every call to tty_open.
|
| |
|
| |
|
|
|
|
| |
256-colour escape sequences (so setaf/setab can be bypassed if needed).
|
|
|
|
| |
exist, reported by Filipe Brandenburger.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
destroyed before it is changed. Also allow ttyname() to fail. Fixes
problems when running out of file descriptors reported by Bruno Sutic.
|
|
|
|
| |
don't assume it does. Fixes missing cursor with emacs-in-tmux-in-tmux.
|
|
|
|
|
| |
when the any of the ttys the pane is going to write to has buffered
enough data.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
historical (incorrect) behaviour for SGR 3 and send smso
(standout). Previously, we would send sitm (italics) if the terminal
outside had it and smso otherwise. This was acceptably until recently
because xterm's terminfo entry lacked sitm, so most users got smso.
People who want italics should set default-terminal to the forthcoming
"tmux" entry (and be prepared to deal with it being missing on older
hosts).
As a side-effect this changes default-terminal to be a server rather
than a session option.
suggested by and ok naddy
|
|
|
|
|
| |
one of the other things we send with xterm, but not with urxvt. Reported
by sthen@.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
options for "mouse-this" and "mouse-that", mouse events may be bound as
keys and there is one option "mouse" that turns on mouse support
entirely (set -g mouse on).
See the new MOUSE SUPPORT section of the man page for description of the
key names and new flags (-t= to specify the pane or window under mouse
as a target, and send-keys -M to pass through a mouse event).
The default builtin bindings for the mouse are:
bind -n MouseDown1Pane select-pane -t=; send-keys -M
bind -n MouseDown1Status select-window -t=
bind -n MouseDrag1Pane copy-mode -M
bind -n MouseDrag1Border resize-pane -M
To get the effect of turning mode-mouse off, do:
unbind -n MouseDrag1Pane
unbind -temacs-copy MouseDrag1Pane
The old mouse options are now gone, set-option -q may be used to
suppress warnings if mixing configuration files.
|
|
|
|
|
| |
and active pane via window-style and window-active-style options, an
individual pane by a new select-pane -P flag). From J Raynor.
|
|
|
|
|
|
|
|
| |
so there is no reason for tty_check_bg to mess with the BRIGHT flag at
all, ever. Also use aixterm colours for 256-to-16 translation if the
terminal supports them. And there is no reason for tty_colours_bg to
worry about whether the terminal supports them - tty_check_bg has
already taken care of it.
|
|
|
|
| |
permission).
|
| |
|
| |
|
|
|
|
| |
backwards) screen CSI 34 h/l. From Guanpeng Xu.
|
|
|
|
| |
really worked properly and is rarely used.
|
|
|
|
| |
ok nicm@
|
| |
|
| |
|
|
|
|
| |
doesn't make much sense as a session option.
|
|
|
|
|
|
|
| |
and use them for the 256 colour set. If the terminfo entry doesn't have
colors#256 and the user gives -2 to the client, use a \033[38;5;Xm
sequence as before. Should allow fbterm to work with it's weird setaf
and setab.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
options with a single foo-style option. For example:
set -g status-fg yellow
set -g status-bg red
set -g status-attr blink
Becomes:
set -g status-style fg=yellow,bg=red,blink
The -a flag to set can be used to add to rather than replace a style. So:
set -g status-bg red
Becomes:
set -ag status-style bg=red
Currently this is fully backwards compatible (all *-{fg,bg,attr} options
remain) but the plan is to deprecate them over time.
From Tiago Cunha.
|
|
|
|
|
| |
killed and it's left on and we can't turn it on and off like we do for
attributes. It's not hard to enable in .Xresources or .Xdefaults anyway.
|
|
|
|
|
| |
during idle periods (like the other states are) because we'd miss
events. So add a server option to control them. Defaults to off.
|
|
|
|
|
| |
beck@ found annoying beeps if a machine was shutdown while tmux is running
and you then focus in/out of an xterm; kettenis tracked it down to 1.156.
|
|
|
|
|
| |
Ce, Ss and Se (not Cc, Ce, Cs, Csr). So use and document these instead
of the ones we were using earlier.
|
|
|
|
|
| |
treats \033[>4;1m and \033[4;1m (bold+underline). Reported & tested by
otto@.
|
|
|
|
| |
few and unnecessary.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
UTF-8, collapse the two together. Simplifies the code at the expense of
more memory (which can probably be reduced again later).
|
| |
|
| |
|
| |
|
|
|
|
| |
cursor and attributes afterwards.
|
|
|
|
| |
using margins.
|
| |
|
| |
|
| |
|