| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
We were only ever using the client to find the session anyway.
|
|
|
|
|
|
|
| |
Identical behaviour to select-prompt can now be obtained with
command-prompt, so remove select-prompt and change ' to be bound to
command-prompt -p index "select-window -t :%%".
|
|
|
|
|
|
|
| |
Make signal handler setup/teardown two common functions instead of six,
and reset SIGCHLD after fork to fix problems with some shells. From
Romain Francoise.
|
|
|
|
|
|
| |
modified with setenv -g) rather than with the environment tmux started
with.
|
|
|
|
|
| |
callback function.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
select-pane.
Also remove up- and down-pane: equivalent behaviour is now available
using -t :.+ and -t :.-.
|
| |
|
|
|
|
|
|
|
|
| |
Permit keys in copy mode to be prefixed by a repeat count, entered with
[1-9] in vi mode, or M-[1-9] in emacs mode.
From Micah Cowan, tweaked a little by me.
|
|
|
|
|
|
| |
copy mode uses the real screen as backing and if it is updated while copying,
strange things can happen. So, freeze reading from the pty while in copy mode.
|
|
|
|
|
|
| |
Add "N" key to search the opposite way from the last search (reverse of "n"),
from Micah Cowan.
|
|
|
|
|
| |
Use the array.h code for the causes list.
|
|
|
|
|
|
| |
Support attaching a client read-only with a new -r flag to the attach-session
command.
|
|
|
|
|
| |
Rectangle copy support, from Robin Lee Powell.
|
|
|
|
|
|
|
| |
Instead of bailing out on the first configuration file error, carry on,
collecting all the errors, then start with the active window in more mode
displaying them.
|
|
|
|
|
|
|
|
|
| |
vi-style B, W and E keys in copy mode to navigate between words treating only
spaces as word separators. Also add . to the list of word separators for
standard word navigation.
From Micah Cowan, tweaked slightly by me.
|
|
|
|
|
| |
Add scroll-up/scroll-down for choose/more mode, from Micah Cowan.
|
|
|
|
|
|
| |
Alter next-word to have vi-like movement behaviour, and add next-word-end with
the existing emacs behaviour. From Micah Cowan.
|
|
|
|
|
| |
Top/bottom of history mode keys, diff from Micah Cowan, tweaked by me.
|
|
|
|
|
|
| |
New command, join-pane, to split and move an existing pane into the space (like
splitw then movep, or the reverse of breakp).
|
|
|
|
|
|
| |
Options to set the colour of the pane borders, with different colours for the
active pane.
|
|
|
|
|
|
| |
Allow keys to be replaced and reorder the table so that terminfo-defined keys
(or terminal-overrides) take precedence over internally defined.
|
|
|
|
|
|
| |
New server option, escape-time, to set the timeout used to detect if escapes
are alone or part of a function key or meta sequence.
|
|
|
|
|
|
|
|
|
| |
Add "server options" which are server-wide and not bound to a session or
window. Set and displayed with "set -s" and "show -s".
Currently the only option is "quiet" (like command-line -q, allowing it to be
set from .tmux.conf), but others will come along.
|
|
|
|
|
|
| |
Permit panes to be referred to as "top", "bottom", "top-left" etc, if the right
pane can be identified.
|
|
|
|
|
|
|
| |
Massive spaces->tabs and trailing whitespace cleanup, hopefully for the last
time now I've configured emacs to make them displayed in really annoying
colours...
|
|
|
|
|
|
|
|
|
| |
Eliminate duplicate code and ease the passage for server-wide options by adding
a -w flag to set-option and show-options and making setw and showw aliases to
set -w and show -w.
Note: setw and showw are still there, but now aliases for set -w and show -w.
|
|
|
|
|
|
| |
New command, capture-pane, which copies the entire pane contents to a paste
buffer. From Jonathan Alvarado.
|
|
|
|
|
| |
Handle partial xterm function key sequences.
|
|
|
|
|
| |
This doesn't need to be u_int.
|
|
|
|
|
|
| |
Tidy up various bits of the paste code, make the data buffer char * and add
comments.
|
|
|
|
|
|
| |
Remove a couple of unused arguments where possible, and add /* ARGSUSED */ to
the rest to reduce lint output.
|
|
|
|
|
|
| |
Output the right keys for application and number keypad modes (they were the
wrong way round).
|
|
|
|
|
|
|
| |
Change status line drawing to create the window list in a separate screen and
then copy it into the status line screen. This allows UTF-8 in window names and
fixes some problems with #[] in window-status-format.
|
|
|
|
|
|
|
|
|
|
| |
Two new options, window-status-format and window-status-current-format, which
allow the format of each window in the status line window list to be controlled
using similar # sequences as status-left/right.
This diff also moves part of the way towards UTF-8 support in window names but
it isn't quite there yet.
|
|
|
|
|
|
| |
Don't interpret #() for display-message, it usually doesn't make sense and may
leak commands.
|
|
|
|
|
|
|
|
|
| |
Cleanup by moving various (mostly horrible) little bits handling UTF-8 grid
data into functions in a new file, grid-utf8.c, and use sizeof intead of
UTF8_DATA.
Also nuke trailing whitespace from tmux.1, reminded by jmc.
|
|
|
|
|
|
|
|
|
|
| |
Add a per-client log of status line messages displayed while that client
exists. A new message-limit session option sets the maximum number of entries
and a command, show-messages, shows the log (bound to ~ by default).
This (and prompt history) might be better as a single global log but until
there are global options it is easier for them to be per client.
|
|
|
|
|
| |
Tweak a comment and add some spacing.
|
|
|
|
|
|
| |
Get rid of the ugly CMD_CHFLAG macro and use a const string (eg "dDU") in the
command entry structs and a couple of functions to check/set the flags.
|
|
|
|
|
| |
Destroy panes immediately rather than checking them all every loop.
|
|
|
|
|
| |
Zap unused functions, prompted by deraadt.
|
|
|
|
|
|
| |
Only need to chmod +x or -x the socket when a client is created, lost or
attached, rather than every event loop.
|
|
|
|
|
| |
Whoops, this is needed for last commit as well.
|
|
|
|
|
|
|
|
|
| |
Switch the tty key tree over to an (unbalanced) ternary tree which allows
partial matches to be done (they wait for further data or a timer to expire,
like a naked escape).
Mouse and xterm-style keys still expect to be atomic.
|
|
|
|
|
|
| |
Key flags are only used for initialisation so they are not needed in the main
tty_key struct.
|
|
|
|
|
|
| |
Now all timers are events, there is no longer any need to wake up every 50 ms -
only wake up when an event happens.
|