projects
/
platform
/
upstream
/
kmscon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f311a50
)
vte: correctly reset console flags on soft reset
author
David Herrmann
<dh.herrmann@googlemail.com>
Wed, 30 May 2012 16:53:43 +0000
(18:53 +0200)
committer
David Herrmann
<dh.herrmann@googlemail.com>
Wed, 30 May 2012 16:53:43 +0000
(18:53 +0200)
We didn't reset the console flags on soft reset, however, this is required
to correctly synchronize the flags between vte and console.
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/vte.c
patch
|
blob
|
history
diff --git
a/src/vte.c
b/src/vte.c
index
1c75855
..
cee8f9f
100644
(file)
--- a/
src/vte.c
+++ b/
src/vte.c
@@
-309,6
+309,7
@@
void kmscon_vte_reset(struct kmscon_vte *vte)
vte->flags |= FLAG_AUTO_REPEAT_MODE;
vte->flags |= FLAG_SEND_RECEIVE_MODE;
vte->flags |= FLAG_AUTO_WRAP_MODE;
+ kmscon_console_reset_flags(vte->con, ~0);
kmscon_utf8_mach_reset(vte->mach);
vte->state = STATE_GROUND;