Age | Commit message (Collapse) | Author |
|
|
|
on unwrapped lines, rather than a grid offset. Fixes problems reported
by Thomas Sattler and Paul de Weerd.
|
|
|
|
offset into the entire history before reflow and restoring it aftewards.
|
|
|
|
Jaroslaw Rzeszotko.
|
|
|
|
used by copy mode.
|
|
|
|
Aloni.
|
|
|
|
characters (previously they were not accounted for).
|
|
|
|
|
|
|
|
1075.
|
|
Linux doesn't have vis.h
|
|
ignore any that not valid UTF-8 outright, and for good measure pass the
result through our UTF-8-aware vis(3).
|
|
together instead of handling them one by one. This is significantly
faster. Sequences are terminated when we reach the end of the line, fill
the internal buffer, or a different character is seen by the input
parser (an escape sequence, or UTF-8).
Rather than writing collected sequences out immediately, hold them until
it is necessary (another screen modification, or we consume all
available data). This means we can discard changes that would have no
effect (for example, lines that would just be scrolled off the screen or
cleared). This reduces the total amount of data we write out to the
terminal - not important for fast terminals, but a big help with slow
(like xterm).
|
|
that it is not affected by scrolling. If MouseDragEnd1Pane is bound to
the new "stop-selection" command:
bind -Tcopy-mode MouseDragEnd1Pane stop-selection
A selection made with the mouse will stay as it is after button 1 is
released. (It also works bound to a key.)
From Artem Fokin.
|
|
sequences (notable EL and ED but also IL, DL, ICH, DCH) create blank
cells using the current background colour rather than the default
colour.
On modern systems BCE doesn't really have many benefits, but most other
terminals now support it, some (lazy) applications rely on it, and it is
not hard to include now that we have pane background colours anyway.
Mostly written by Sean Haugh.
|
|
pane. Reported by Theo Buehler.
|
|
|
|
|
|
into the history) and when resizing only use scrolled lines and not
cleared lines (which are probably not intended to reappear). From
Chaoren Lin.
|
|
instead track them as change (dirty) and update them once at the end,
saves much time if repeatedly writing the same cell. Also fix comparison
of cells being equal in a few places (memcmp is not enough).
|
|
|
|
|
|
|
|
Daniel De Graaf.
|
|
window pane, no point in calling gethostname() for temporary screens.
|
|
Some notes:
POSIX HOST_NAME_MAX doesn't include the NUL.
POSIX LOGIN_NAME_MAX and TTY_NAME_MAX do include the NUL.
BSD MAXHOSTNAMELEN includes the NUL. Actually, most of the historical
BSD MAX* defines did include the NUL, except for the historical
mistake of utmp fields without NULs in the string, which directly led
to strncpy.. just showing how error prone this kind of accounting is.
CSRG did right. Somehow POSIX missed the memo on the concepts of
carefulness and consistancy, and we are still paying the price when
people trip over this. Of course, glibc is even more amazing (that is
a hint to blackhats)
ok guenther
|
|
|
|
|
|
|
|
|
|
1. In vi mode the selection doesn't include the last character if you
moved the cursor up or left.
2. In emacs mode the selection includes the last character if you moved
the cursor to the left.
From Balazs Kezes.
|
|
- Check for truncation when copying path.
- Don't need to use a temporary buffer in screen_set_title.
- Include strerror in output when connecting to server fails.
|
|
Collins.
|
|
faster with large histories.
|
|
many over the years and finally implemented by Richard Woodbury.
|
|
|
|
styles 5 and 6 too, so allow them to be set.
|
|
terminfo(5) extensions, Cs and Csr. Written by Ailin Nemui.
|
|
(set) and Cr (reset) extensions. Originally by Sean Estabrooks, tweaked
by me and Ailin Nemui.
|
|
|
|
off by default and we have to trust the terminal can understand what we
send it anyway so there isn't any harm.
|
|
selection on the right edge but on the left it is.
|
|
Micah Cowan.
|
|
of the machine we are running on in there.
makes my many green lines easier to deal with without using fiddly options to
set it.
ok nicm@
|