| Commit message (Collapse) | Author | Age |
... | |
| |
| |
| |
| |
| | |
wrapped at the screen edge from those terminated by a newline. Then use this
when copying to combine wrapped lines together into one.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- a two-dimensional array of cells;
- a two-dimensional array of utf8 data;
- an array of line lengths.
Now it is a single array of a new struct grid_line each of which represents a
line and containts the length and an array of cells and an array of utf8 data.
This will make it easier to add additional per-line members, such as flags.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
cause the client to hang. Instead, send the error message, then mark the client
as bad and start a normal shutdown so the server exits once the error is
written.
This also allows some code duplicating daemon(3) to be trimmed and logging to
begin earlier.
Prompted by Theo noticing the behaviour on error wasn't documented.
|
| | |
|
| |
| |
| |
| |
| |
| | |
colours and attributes. Found thanks to a report from Taylor Venable.
While here also nuke a couple of extra blank lines.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
background by setting or clearing the reverse attribute.
This makes a few applications which don't use the reverse attribute themselves
a little happier, and allows the status, message and mode options to have
default attributes and fg/bg options that work as expected when set as reverse.
|
| |
| |
| |
| | |
string value, useful for terminal-overrides.
|
| |
| |
| |
| |
| |
| | |
subsections; lots of tweaks to come on the text
from nicm and myself
|
| | |
|
| |
| |
| |
| | |
appear.
|
| | |
|
| |
| |
| |
| | |
understandable.
|
| |
| |
| |
| | |
they were actually found in the source terminal description. Reported by jmc.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
to be overridden. The 88col/256col checks are now moved into the default
setting and out of the code.
Also remove a couple of old workarounds for xterm and rxvt which are no longer
necessary (tmux can emulate them if missing).
|
| |
| |
| |
| | |
name of the terminal type causing the error where relevant. ok nicm@.
|
| |
| |
| |
| | |
terminals which don't use the standard set.
|
| | |
|
| | |
|
| |
| |
| |
| | |
/dev/null if they want.
|
| | |
|
| | |
|
| |
| |
| |
| | |
and merge smaller functions inline.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
lookup table and use a switch, merge the tiny handler functions into it, and
move the whole lot to client.c.
Also change client_msg_dispatch to consume as many messages as possible and
move the call to it to the right place so it checks for signals afterwards.
Prompted by suggestions from eric@.
|
| |
| |
| |
| | |
properly, rather than just exiting.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
using -p index, a target pane is now addressed with the normal -t window form
but suffixed with a period and a pane index, for example :0.2 or
mysess:mywin.1. An unadorned number such as -t 1 is tried as a pane index in
the current window, if that fails the same rules are followed as for a target
window and the current pane in that window used.
As a side-effect this now means that swap-pane can swap panes between different
windows.
Note that this changes the syntax of the break-pane, clear-history, kill-pane,
resize-pane, select-pane and swap-pane commands.
|
| | |
|
| |
| |
| |
| | |
modes.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
command line. The name of all slave ptys in the server is known, so if the
client was run on a tty, look for any sessions containing that tty and use the
most recently created.
This is more reliable than looking at $TMUX if windows have been moved or
linked between sessions.
|
| |
| |
| |
| | |
when struct hdr disappears.
|
| |
| |
| |
| | |
to prevent the date being cut off.
|
| |
| |
| |
| | |
argument to modify a table.
|
| | |
|
| |
| |
| |
| |
| |
| | |
a named tree on start and use that for lookups. Also add command to string
translation tables and modify list-keys to show the the mode key bindings (new
-t argument).
|
| |
| |
| |
| | |
window, if any.
|
| |
| |
| |
| | |
MODEKEYCOPY_QUIT to _CANCEL to match the others.
|
| |
| |
| |
| |
| |
| |
| | |
lumping them all together, split editing keys from those used in choice/more
mode and those for copy/scroll mode.
Tidier and clearer, and the first step towards customisable mode keys.
|
| | |
|
| |
| |
| |
| | |
From Kalle Olavi Niemitalo.
|
| | |
|
| |
| |
| |
| | |
emacs and vi). From Kalle Olavi Niemitalo.
|
| |
| |
| |
| |
| |
| | |
matches screen's behaviour if not its termcap/terminfo entry). The terminfo kbs
cap is often wrong or missing so it can't be used, and just assuming \177 may
be wrong.
|
| |
| |
| |
| |
| |
| | |
correctly, and make it work when the screen is not wide enough.
Noticed by Kalle Olavi Niemitalo.
|
| |
| |
| |
| | |
with itself. Also fix process name comparison.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is the first of two changes to make the protocol more resilient and less
sensitive to other changes in the code, particularly with commands. The client
now packs argv into a buffer and sends it to the server for parsing, rather
than doing it itself and sending the parsed command data.
As a side-effect this also removes a lot of now-unused command marshalling
code.
Mixing a server without this change and a client with or vice versa will cause
tmux to hang or crash, please ensure that tmux is entirely killed before
upgrading.
|
| |
| |
| |
| | |
window with multiple panes.
|
| |
| |
| |
| | |
including intersections.
|
| | |
|