| Commit message (Collapse) | Author | Age |
... | |
|
|
|
|
| |
Minor language tweaks, change which key bindings are summarised.
|
| |
|
|
|
|
|
| |
Nuke a dead variable found with clang and an unused declaration with lint.
|
|
|
|
|
|
| |
Move the key bindings section to near the start, mention attach/detach in the
first section, and another couple of tweaks. Based on a diff from Theo.
|
|
|
|
|
|
| |
Don't leak in the (rare) case of an invalid command at the end of a file not
terminated by a \n.
|
|
|
|
|
| |
Use a temporary variable for strdup of const char *.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Infrastructure and commands to manage the environment for processes started
within tmux.
There is a global environment, copied from the external environment when the
server is started and each session has an (initially empty) session
environment which overrides it.
New commands set-environment and show-environment manipulate or display the
environments.
A new session option, update-environment, is a space-separated list of
variables which are updated from the external environment into the session
environment every time a new session is created - the default is DISPLAY.
|
|
|
|
|
| |
Tidy function a little by using a temporary variable.
|
| |
|
|
|
|
|
|
| |
Options to set the colours and attributes for status-left/-right. From Thomas
Adam, thanks.
|
|
|
|
|
|
|
| |
Add a flags member to the grid_line struct and use it to differentiate lines
wrapped at the screen edge from those terminated by a newline. Then use this
when copying to combine wrapped lines together into one.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Change the way the grid is stored, previously it was:
- 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 contains 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If there is an error in the configuration file, don't just exit(1) as this can
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.
|
|
|
|
|
| |
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.
|