| Commit message (Collapse) | Author | Age |
... | |
|
|
|
|
| |
adjusting the selection, it should never have any useful history (and
when it does, after resize, we shouldn't use it). From Michal Mazurek.
|
| |
|
|
|
|
|
| |
if you exit and reenter copy mode (it doesn't remember the position,
just the search string), suggested by espie@.
|
|
|
|
| |
conditional for key bindings.
|
|
|
|
| |
so it can work when in -I, suggested by Suraj N Kurapati.
|
|
|
|
|
|
|
| |
must be a full line). Don't let it redraw the status line more than once
a second.
Requested by someone about 10 years ago...
|
| |
|
| |
|
| |
|
|
|
|
| |
pattern.
|
|
|
|
|
| |
caller do it so it can free the marks. Problem reported by attila at
stalphonsos dot com.
|
|
|
|
|
|
| |
jobs, this means that if the same job is used for different windows or
panes (for example in pane-border-format), it will be run separately for
each pane.
|
|
|
|
| |
from S Gilles.
|
|
|
|
|
|
| |
the same as normal searching but updates the cursor position and marked
search terms as you type. C-r and C-s in the prompt repeat the search,
once finished searching (with Enter), N and n work as before.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
that it is not affected by scrolling. If MouseDragEnd1Pane is bound to
the new "stop-selection" command:
bind -Tcopy-mode MouseDragEnd1Pane stop-selection
A selection made with the mouse will stay as it is after button 1 is
released. (It also works bound to a key.)
From Artem Fokin.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
sequences (notable EL and ED but also IL, DL, ICH, DCH) create blank
cells using the current background colour rather than the default
colour.
On modern systems BCE doesn't really have many benefits, but most other
terminals now support it, some (lazy) applications rely on it, and it is
not hard to include now that we have pane background colours anyway.
Mostly written by Sean Haugh.
|
| |
|
| |
|
|
|
|
|
| |
fired then triple), and use for select-word and select-line in copy
mode. Inspired by a different solution from Omar Sandoval.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The vi-copy and emacs-copy mode key tables are gone, and instead copy
mode commands are bound in one of two normal key tables ("copy-mode" or
"copy-mode-vi"). Keys are bound to "send-keys -X copy-mode-command". So:
bind -temacs-copy C-Up scroll-up
bind -temacs-copy -R5 WheelUpPane scroll-up
Becomes:
bind -Tcopy-mode C-Up send -X scroll-up
bind -Tcopy-mode WheelUpPane send -N5 -X scroll-up
This allows the full command parser and command set to be used - for
example, we can use the normal command prompt for searching, jumping,
and so on instead of a custom one:
bind -Tcopy-mode C-r command-prompt -p'search up' "send -X search-backward '%%'"
command-prompt also gets a -1 option to only require on key press, which
is needed for jumping.
The plan is to get rid of mode keys entirely, so more to come eventually.
|
|
|
|
|
| |
because we don't care if it is truncated to the screen width, we don't
want it to be fatal.
|
|
|
|
| |
functions static.
|
|
|
|
|
| |
and set the default repeat count to 5 for WheelUp and WheelDown in
copy-mode.
|
| |
|
|
|
|
| |
Piatkowski (initial changes to help some more to come).
|
| |
|
| |
|
|
|
|
| |
if the same had been done line-by-line. From Michal Mazurek.
|
|
|
|
| |
doing the drag end in code. From Stephen Coakley.
|
| |
|
| |
|
|
|
|
| |
command name (will also be used for more later).
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
terminal. We still support non-UTF-8 terminals outside tmux, but inside
it is always UTF-8 (as when the utf8 and status-utf8 options were on).
|
|
|
|
|
|
| |
uint64_t and converting UTF-8 to Unicode on input and the reverse on
output. (This allows key bindings, there are still omissions - the
largest being that the various prompts do not accept UTF-8.)
|
|
|
|
|
|
|
|
|
| |
around, we can't use file descriptors for the working directory because
we will be unable to pass it to a privileged process to tell it where to
read or write files or spawn children. So move tmux back to using
strings for the current working directory. We try to check it exists
with access() when it is set but ultimately fall back to ~ if it fails
at time of use (or / if that fails too).
|
| |
|
| |
|
| |
|
|
|
|
| |
for quick view of history, from Cam Hutchison.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
jump-reverse/jump-again, from Jacob Niehus.
|