Fix crash when changing from blinking cursor to block cursor

Authored by hindenburg on Dec 5 2018, 2:13 PM.

Description

Fix crash when changing from blinking cursor to block cursor

Summary:
When using the new fancy escape codes to change the cursor,
we might hit an assert if the cursor was changed when the
cursor was hidden by blinking.

Test Plan:
run:

printf '\e[ q'

and then when the cursor is invisible run:

printf '\e[2 q'

Reviewers: Konsole, hindenburg

Reviewed By: Konsole, hindenburg

Subscribers: konsole-devel, Konsole

Tags: Konsole

Differential Revision: https://phabricator.kde.org/D17264

Details

Committed
hindenburgDec 5 2018, 2:24 PM
Reviewer
Konsole
Differential Revision
D17264: Fix crash when changing from blinking cursor to block cursor
Parents
R319:633eb056fece: Simplify/Speedup reading Stylesheet file
Branches
Unknown
Tags
Unknown