This website works better with JavaScript.
Home
Explore
Help
Sign In
Linux
/
st
generated from
gmarx/git-template
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
On terminal resize, clear the alt screen with its own cursor.
Currently the alternate screen get messed up on resize if it has different colors or mode.
master
Colona
10 years ago
committed by
Roberto E. Vargas Caballero
parent
844c503c80
commit
8f11e1cd03
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
st.c
+ 2
- 0
st.c
View File
@ -2674,7 +2674,9 @@ tresize(int col, int row) {
if
(
0
<
col
&
&
minrow
<
row
)
{
tclearregion
(
0
,
minrow
,
col
-
1
,
row
-
1
)
;
}
tcursor
(
CURSOR_SAVE
)
;
tswapscreen
(
)
;
tcursor
(
CURSOR_LOAD
)
;
}
while
(
orig
!
=
term
.
line
)
;
return
(
slide
>
0
)
;
Write
Preview
Loading…
Cancel
Save