Fix crash when changing from blinking cursor to block cursor

Authored by sandsmark on Nov 30 2018, 4:41 PM.



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


printf '\e[ q'

and then when the cursor is invisible run:

printf '\e[2 q'

Diff Detail

R319 Konsole
Lint Skipped
Unit Tests Skipped
sandsmark created this revision.Nov 30 2018, 4:41 PM
Restricted Application added a project: Konsole. · View Herald TranscriptNov 30 2018, 4:41 PM
Restricted Application added a subscriber: konsole-devel. · View Herald Transcript
sandsmark requested review of this revision.Nov 30 2018, 4:41 PM

same issue here - can you fix?

sandsmark updated this revision to Diff 46842.Dec 4 2018, 4:01 PM

fix format for phabricator

hindenburg accepted this revision.Dec 5 2018, 2:23 PM
hindenburg edited the summary of this revision. (Show Details)
This revision is now accepted and ready to land.Dec 5 2018, 2:23 PM
This revision was automatically updated to reflect the committed changes.