| Commit message (Collapse) | Author | Age |
... | |
|
|
|
|
| |
Move introduction section up into description. From jmc.
|
|
|
|
|
|
|
|
| |
Using the alternative screen (smcup/rmcup) should also preserve the current
colours and attributes. Found thanks to a report from Taylor Venable.
While here also nuke a couple of extra blank lines.
|
|
|
|
|
| |
tweak INTRODUCTION; from nicm and myself (jmc)
|
|
|
|
|
| |
Clear the codes array earlier as tty_term_free could be called on error.
|
|
|
|
|
|
|
|
|
|
| |
If colours are not supported by the terminal, try to emulate a coloured
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.
|
|
|
|
|
|
| |
Add a -a flag to set-option and set-window-option to append to an existing
string value, useful for terminal-overrides.
|
|
|
|
|
| |
Show the bell/activity/current status and the window title in the choice list.
|
|
|
|
|
|
| |
Check for "UTF8" as well as "UTF-8" in LANG etc as it seems this may also
appear.
|
|
|
|
|
| |
NetBSD in accordance to OpenBSD patchset 214.
|
|
|
|
|
|
| |
Split the comparison into a function to make this code smaller and more
understandable.
|
| |
|
|
|
|
|
|
| |
Don't try to free old string values (and crash) when they are overridden unless
they were actually found in the source terminal description. Reported by jmc.
|
|
|
|
|
| |
introduced on OpenBSD patchset 211.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Add a terminal-overrides session option allowing individual terminfo(5) entries
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).
|
|
|
|
|
|
| |
Fix checking of setupterm(3) error codes. While there include the
name of the terminal type causing the error where relevant. ok nicm@.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
finding tmux key bindings missing. Trim it down and make it clear this is an
example only.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Pass the ACS border characters through tty_get_acs so they appear correctly on
terminals which don't use the standard set.
|
|
|
|
|
| |
Don't leak when rollling buffers off when the paste buffer limit is reached.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
on Linux use -lncurses instead of -lcurses.
Also use -lncurses on NetBSD because they are only now realising that
supporting the 20-year-old terminfo API in their libcurses might be nice, and
so far none of the releases do.
|
|
|
|
|
| |
C99, so use -std=c99 on Linux.
|
| |
|
|
|
|
|
| |
Plug some memory leaks.
|
| |
|
|
|
|
|
|
| |
Don't babysit people and let them try to load /dev/zero or (more useful)
/dev/null if they want.
|
|
|
|
|
| |
Remove some dead code found by clang.
|
|
|
|
|
| |
tweak previous;
|
|
|
|
|
|
| |
Similar changes for server_msg_dispatch: use a switch instead of a lookup
table and merge smaller functions inline.
|
|
|
|
|
|
|
|
|
|
|
|
| |
There aren't many client message types or code to handle them so get rid of
the 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@.
|
|
|
|
|
|
| |
Tell the server when the client gets SIGTERM so it can clean up the terminal
properly, rather than just exiting.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Merge pane number into the target specification for pane commands. Instead of
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.
|
|
|
|
|
| |
new sentence, new line;
|
|
|
|
|
|
| |
Add a mode-mouse option to prevent tmux taking over the mouse in choice or
copy modes.
|
|
|
|
|
|
|
|
|
|
|
| |
Add an additional heuristic to work out the current session when run from the
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.
|
|
|
|
|
|
| |
Rename struct hdrtype to msgtype which is a better name and can be used even
when struct hdr disappears.
|
|
|
|
|
|
| |
Taking account of the "s, 22 not 24 is the maximum length of #T in
status-right to prevent the date being cut off.
|
|
|
|
|
|
| |
Final pieces of mode key rebinding: bind-key and unbind-key now accept a -t
argument to modify a table.
|