Commit 7934bcff authored by Ahmad Samir's avatar Ahmad Samir Committed by Kurt Hindenburg

Reset rendition attributes to default when switching to alternate screen

Call setDefaultRendition() before switching to the alternate screen

Quitting vim after using a color scheme which sets the character
background color doesn't clear that attribute in the alternate screen.
This affects other programs which use the alternate screen when run
right after quitting vim, e.g. less.

This issue appears to only happen with certain graphics cards/drivers.

BUG: 328287
FIXED-IN: 18.04

Reviewers: hindenburg, #konsole

Reviewed By: hindenburg, #konsole

Subscribers: #konsole

Tags: #konsole

Differential Revision:
parent c5c4f433
......@@ -1313,6 +1313,7 @@ void Vt102Emulation::setMode(int m)
case MODE_AppScreen:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment