| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
The hardstatus line was being shown in incorrect rendition with
both caption and hardstatus turned on.
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
Conflicts:
src/display.c
src/display.h
|
| | |
|
| |
| |
| |
| | |
Closes savannag bug #29602.
|
| |
| |
| |
| |
| | |
Update doc about selecting window in windowlists by pressing its
number. Closes savannah bug #29603.
|
| |
| |
| |
| | |
Closes savannah bug #29451.
|
| |
| |
| |
| | |
Thanks to Martin Przyjazny for reporting.
|
| |
| |
| |
| | |
Remove the unintentionally added cap for scrollback history.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When going to alternate screen buffer on smcup, the terminal is
supposed to store the cursor position, rendition etc. Screen used to
store only the position (and that was just a little buggy anyway).
So change this behaviour to store all information about the cursor,
and restore everything on rmcup.
Apparently, the terminal is supposed to store the cursor for smcup
(CSI ? 1049 h) and DECSC (ESC 7, CSI s, CSI ? 1048 h) separately. So
be it.
|
| |
| |
| |
| |
| | |
This change causes no functional change at all. This simply groups
some common variables into structs.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Screen wouldn't do anything with 'hardcopy' if there was no
foreground window, except overwriting the specified file (when
hardcopy_append is off, of course). But the NEED_FORE flag wasn't
set. I am not sure why this was the case. So I have added the
NEED_FORE flag so that 'hardcopy' command fails if there is no
foreground window.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Make -h save scrollback with or without a file name given. Also,
preserve the unlikely case in which someone actually does want to
save display to '-h'; with
:hardcopy -- -h
or, to save both history and display to '-h'
:hardcopy -h -h
Also,
:hardcopy --
:hardcopy -h --
will, as they always have, save display or history and display to
'--'.
|
| |
| |
| |
| | |
Closes savannah #29374.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Currently, '@' or'-' prefixed commands suppress both error messages
and normal messages. It will be possible to differentiate between
the two, though, if there was need for it. These flags can be useful
for, for example, remote commands to not interrupt displays etc.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
Thanks a lot to Max Kalashnikov for pointing out that the bug
remained after the last fix (f7adfae856b). This should properly fix
Savannah bug #25813.
|
| |
| |
| |
| |
| |
| | |
Expanding $PWD to expand to the correct current working directory
can be useful to figure out, for example, where log files are
created, and other purposes.
|
| |
| |
| |
| | |
Details discussed in #25813.
|
| |
| |
| |
| |
| |
| |
| | |
Setting the page-width to 80/132 columns should clear the window and
position the cursor on top-left.
Reference: http://vt100.net/docs/vt510-rm/DECCOLM
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
Showing the capabilities somewhere is useful for users, especially
when diagnosing a bug. The 'license' page seems as good a place as
any to stuff this info in.
|
| |
| |
| |
| |
| |
| | |
When a layer displayed within a canvas is smaller than the available
area, we show '-' at the bottom, and now '|' on the right to mark
the actual size of the layer in the canvas.
|
| |
| |
| |
| |
| | |
The default rendition for silence'd windows in caption/hardstatus
or in the windowlist is =u (underline). Closes savannah bug #29205.
|
| | |
|
| |
| |
| |
| | |
Thanks a bunch to Friedrich Delgado Friedrichs for providing the valgrind logs.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Instead of killing all overlays when resizing, just kill the ones
that cannot be resized, and the resized the rest. This fixes a bug
where the window-list (or a group-window) is aborted when
layer-size changes (because window-size changed, or
caption/hardstatus etc. was toggled). This also makes the code
robust. So if you are looking at a window/display list, and the
window-size is changed, the list won't go away.
|
| | |
|
| |
| |
| |
| |
| | |
The window-list data gets freed when we abort the list. So read what
we need to before aborting the list.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
The initial change was to fix a bug in gnome-terminal
(https://savannah.gnu.org/bugs/?23699), but that broke hardstatus
update issues on bell (https://savannah.gnu.org/bugs/?24096). So
apply a proper fix for #23699 without causing #24096.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Double cell characters that end a line are not properly displayed
when there are split regions. Takeshi Banse detected the problem and
a fix for it in Savannag bug #29106. A better fix for this was
applied in the unicode++ branch, but that won't work in 'master'.
This is approximately the same fix, in a slightly different way.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Some distributions ( mandriva for example ) use
-Werror=format-security by default when build C software to try to
enhance code quality and prevent security bugs. As the policy is to
correct all occurences of the error ( so there is no false positive,
nor question about to fix it or not ), a patch that fix the
error on gnu screen 4.0.3 have been added to the package. I have
rediffed it against latest git snapshot, to be sent upstream.
It mainly add "%s" where applicable.
|
| |
| |
| |
| | |
Detecting when to destroy a window-list is rather complicated.
|
| |
| |
| |
| | |
Scroll wheels to scroll, left click to select.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
When there are no splits, pausing output on a layer isn't necessary,
since it doesn't hit the performance. But we do want to continue to
pause output when there are splits to improve scrolling performance.
Fixes savannah bug #29055. Thanks to Kazuo Teramoto for reporting
the bug and testing the fix.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Height of a window can be negative, when both hardstatus and caption
are turned on, and the terminal size is reduced to one-line height.
So handle those cases more gracefully.
Fixes savannah bug #29037.
|
| |
| |
| |
| |
| |
| | |
It looks like 'ys' can be negative at times, which results in invalid
memory reads, and possibly writes. Valgrind log from Friedrich Delgado
Friedrichs in savannah bug #29050.
|
| | |
|
| |
| |
| |
| |
| | |
Make sure the allocated memory is always freed. Also, do not reference freed memory.
Thank you valgrind.
|
| | |
|