| Commit message (Collapse) | Author | Age |
... | |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| | |
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).
|
| | |
|
| |
| |
| |
| | |
it into tty.c.
|
| |
| |
| |
| | |
screen was updated) out of struct screen and into struct tty_ctx.
|
| |
| |
| |
| |
| | |
pointers, so remove it and use the function pointers directly to represent
themselves.
|
| |
| |
| |
| | |
by using a struct rather than hiding everything with varargs.
|
| |
| |
| |
| | |
tty_cmd_utf8character and eliminate the size argument.
|
| |
| |
| |
| |
| | |
smcup to the first and rmcup to the last sequences output to the terminal. This
allows tmux to use the alternate screen (smcup/rmcup) when available.
|
| | |
|
| |
| |
| |
| | |
otherwise colour 8 isn't reset properly.
|
| |
| |
| |
| | |
duplicate. Found by lint.
|
| | |
|
| |
| |
| |
| |
| |
| | |
normal eight-bit output is wrong, separate it into a different function. Fixes
spacing when mixing UTF-8 with some escape sequences, notably the way w3m does
it.
|
| |
| |
| |
| |
| | |
first cursor test in vttest (in ports) to pass; it still shops a few more
problems though.
|
| |
| |
| |
| | |
to the cursor is cy not cy - 1, and the current cursor cell should be included.
|
| |
| |
| |
| |
| | |
fails spectacularly on (at least) sparc64, so disable it for now. Thanks to
naddy and Josh Elsasser for help and testing.
|
|
|
|
|
|
|
| |
terminal to be switched between several different windows and programs
displayed on one terminal be detached from one terminal and moved to another.
ok deraadt pirofti
|
|
|
|
| |
using margins.
|
|
|
|
|
| |
Tidy up tty_write, from Sean Estabrooks.
|
|
|
|
|
| |
xfree is not particularly helpful, remove it. From Thomas Adam.
|
|
|
|
|
| |
Remove a couple of unused variables from redbrain at gcc dot gnu dot org.
|
|
|
|
|
|
| |
Store client in tty struct directly instead of using a callback function
pointer.
|
|
|
|
|
| |
Use tty_pane_full_width macro in some more places.
|
|
|
|
|
|
| |
If there are any terminals with insert mode but not ich1, they can go
through the slow path. Tidies code slightly.
|
|
|
|
|
| |
Move some common code to repeat spaces into a function.
|
|
|
|
|
|
| |
Tidy up by adding a macro for the pane being the full screen width, from
Ailin Nemui.
|
|
|
|
|
| |
Missing ()s in macros.
|
|
|
|
|
| |
Pull CRA out into a separate function and add ERA, from Ailin Nemui.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a simple form of output rate limiting by counting the number of
certain C0 sequences (linefeeds, backspaces, carriage returns) and if it
exceeds a threshold (current default 50/millisecond), start to redraw
the pane every 100 milliseconds instead of making each change as it
comes. Two configuration options - c0-change-trigger and
c0-change-interval.
This makes tmux much more responsive under very fast output (for example
yes(1) or accidentally cat'ing a large file) but may not be perfect on
all terminals and connections - feedback very welcome, particularly
where this change has a negative rather than positive effect (making it
off by default is a possibility).
After much experimentation based originally on a request Robin Lee
Powell (which ended with a completely different solution), this idea
from discussion with Ailin Nemui.
|
|
|
|
|
|
|
| |
On xterm 271 and later, put the terminal into SCL 5 and use DECCRA for
scrolling the region in panes (if the large region check isn't
hit). With help from Ailin Nemui.
|
|
|
|
|
|
| |
Break out termios initialization into a separate function, from George
Nachman.
|
|
|
|
|
|
| |
Do not clear to end of line if the line is full, fixes missing last
character in rightmost pane.
|
|
|
|
|
|
| |
Use the region lower not the pane size to work out where the bottom line
is.
|
|
|
|
|
| |
Tweak last fix to actually hit the right end of pane.
|
|
|
|
|
|
| |
Check event_initialized before event_del if event may not have been set
up; libevent2 complains about this. Reported by Moriyoshi Koizumi.
|
|
|
|
|
|
|
| |
Revert screen-write.c r1.54 and fix the bug properly. After wrapping a
line in a pane, the cursor needs to move to the next line unless it
scrolled.
|
|
|
|
|
|
| |
Send secondary DA to terminals with XT in terminfo when starting up and
parse it to work out the xterm version.
|
|
|
|
|
| |
Fix a warning. Doh.
|
|
|
|
|
|
| |
Add a helper function for enabling an optimization to make some code
clearer.
|
|
|
|
|
| |
Erm, use EL in a way that actually works...
|
|
|
|
|
| |
Use EL to clear to end of line if possible.
|
|
|
|
|
| |
Remove some bits leftover from unused backoff code.
|
|
|
|
|
|
|
|
|
| |
Support "bracketed paste" mode. This adds a -p flag to paste-buffer - if
this is used and the application has requested bracketed pastes, then
tmux surrounds the pasted text by \033[200~ and \033[201~. Applications
like vim can (apparently) use this to avoid, for example, indenting the
text. From Ailin Nemui.
|
|
|
|
|
| |
Add a wrapper function tty_set_size from George Nachman.
|
|
|
|
|
|
| |
Add an option to move the status line to the top of the screen,
requested by many.
|
|
|
|
|
|
| |
Add strings to allow the aixterm bright colours to be used when
configuring colours, requested by Elliott Cable a few months ago.
|
|
|
|
|
|
| |
Calculate last position correctly for UTF-8 wide characters, reported by
Matthias Lederhofer.
|
|
|
|
|
| |
Add a tty_bell wrapper function, from Dylan Alex Simon.
|
|
|
|
|
| |
Trim another useless if statement, from Ailin Nemui.
|