chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
bdf7026
)
terminal: fix restoring of screen flags
author
Tom Gundersen
<teg@jklm.no>
Sat, 4 Oct 2014 21:03:15 +0000
(23:03 +0200)
committer
David Herrmann
<dh.herrmann@gmail.com>
Sun, 5 Oct 2014 12:17:14 +0000
(14:17 +0200)
src/libsystemd-terminal/term-screen.c
patch
|
blob
|
history
diff --git
a/src/libsystemd-terminal/term-screen.c
b/src/libsystemd-terminal/term-screen.c
index 145dcdaee55ac1ae06544cc1e6c577fd43345569..9026c25efe0d96b3becc04d91b3957a2278dedb8 100644
(file)
--- a/
src/libsystemd-terminal/term-screen.c
+++ b/
src/libsystemd-terminal/term-screen.c
@@
-1259,8
+1259,8
@@
static int screen_DECRC(term_screen *screen, const term_seq *seq) {
screen->gr = screen->saved.gr;
screen->glt = screen->saved.glt;
screen->grt = screen->saved.grt;
screen->gr = screen->saved.gr;
screen->glt = screen->saved.glt;
screen->grt = screen->saved.grt;
- set_reset(screen, TERM_FLAG_AUTO_WRAP, screen->flags & TERM_FLAG_AUTO_WRAP);
- set_reset(screen, TERM_FLAG_ORIGIN_MODE, screen->flags & TERM_FLAG_ORIGIN_MODE);
+ set_reset(screen, TERM_FLAG_AUTO_WRAP, screen->
saved.
flags & TERM_FLAG_AUTO_WRAP);
+ set_reset(screen, TERM_FLAG_ORIGIN_MODE, screen->
saved.
flags & TERM_FLAG_ORIGIN_MODE);
screen_cursor_set(screen, screen->saved.cursor_x, screen->saved.cursor_y);
return 0;
screen_cursor_set(screen, screen->saved.cursor_x, screen->saved.cursor_y);
return 0;