Terminal: fix cursor blinking
When the window was deactivated once, cursor wouldn't blink anymore on next activation. Fixes #16388 Change-Id: Id7042e078df2a5c5b397763cf544626efc5e589a Reviewed-on: https://review.haiku-os.org/c/haiku/+/3258 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
This commit is contained in:
parent
8b2b301059
commit
e2ee966fc0
@ -977,7 +977,8 @@ void
|
||||
TermView::_Activate()
|
||||
{
|
||||
fActive = true;
|
||||
SwitchCursorBlinking(fCursorBlinking);
|
||||
bool blink = PrefHandler::Default()->getBool(PREF_BLINK_CURSOR);
|
||||
SwitchCursorBlinking(blink);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user