| Commit message (Collapse) | Author | Age |
... | |
|
|
|
| |
pane. Reported by Theo Buehler.
|
|
|
|
|
|
| |
support line editing and instead executes a command as soon as a
non-number key is pressed. Add a -N flag to command-prompt for the same
in copy mode. Reported by Theo Buehler.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
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 it is not possible to keep the mouse on the border when the
minimum size is reached.
|
| |
|
|
|
|
|
| |
they are enabled and break the actual screen generation code into a
separate function. Fixes problems reported by Romain Francoise.
|
|
|
|
| |
sensibly.
|
| |
|
|
|
|
|
| |
because we don't care if it is truncated to the screen width, we don't
want it to be fatal.
|
|
|
|
|
|
|
| |
the end of the source, but it was wrong and causes problems that are
only showing up now we are more aggressive about skipping redundant
screen updates. Remove the optimization entirely as more trouble than it
is worth to fix (and it'll have to go when BCE is done anyway).
|
| |
|
| |
|
| |
|
|
|
|
| |
functions static.
|
| |
|
| |
|
|
|
|
|
| |
overlap after the first character (for example with cells xy and ab, y
is replacing a).
|
| |
|
|
|
|
|
| |
SIGWINCH when the size changes rapidly. To help a problem reported by
Rui Pinheiro.
|
| |
|
|
|
|
|
|
|
|
|
| |
into the read callback several times in succession; swap back when we
see empty buffers several times. This hopefully limits how much programs
that print a lot for a long period can monopolize tmux (like large, fast
compiling), without penalizing programs that print a lot briefly (like
most curses applications). Helps a lot for me, the actual numbers may
need tweaking later.
|
|
|
|
|
| |
and set the default repeat count to 5 for WheelUp and WheelDown in
copy-mode.
|
|
|
|
| |
than splitting the current cell. From Stephen Kent.
|
|
|
|
|
|
| |
into the history) and when resizing only use scrolled lines and not
cleared lines (which are probably not intended to reappear). From
Chaoren Lin.
|
|
|
|
|
| |
index is still valid before renumber-windows happens. Fixes issue
reported by Eric Pruitt.
|
|
|
|
| |
Serge Aleynikov, fix from Thomas Adam.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
instead track them as change (dirty) and update them once at the end,
saves much time if repeatedly writing the same cell. Also fix comparison
of cells being equal in a few places (memcmp is not enough).
|
|
|
|
|
|
| |
cell flags, convert to use an int with flags marking 256 or RGB colours
in the top byte (except in cells, which we don't want to make any
bigger). From Brad Town.
|
|
|
|
|
|
|
| |
it explicitly removes any S_ISUID|S_ISGID|S_ISTXT bits, instead of letting
pledge(2) silenciously remove them.
ok nicm@ beck@ deraadt@
|
|
|
|
| |
command-prompt, rather than always just selecting the pane.
|
| |
|
|
|
|
|
|
| |
if needed, so it disables reading from the pane. This can be problem
with some programs. So make tmux automatically exit all modes after 180
seconds of inactivity and if there is pending output.
|
| |
|
| |
|
|
|
|
| |
colour, from Avi Halachmi.
|
|
|
|
| |
skipped, reported by Omar Sandoval.
|
|
|
|
|
| |
always after the active pane. This is more sensible when doing it with
commands rather than keys.
|