diff --git a/Libraries/LibVT/TerminalWidget.cpp b/Libraries/LibVT/TerminalWidget.cpp index e45d538f9b..ba13e61037 100644 --- a/Libraries/LibVT/TerminalWidget.cpp +++ b/Libraries/LibVT/TerminalWidget.cpp @@ -94,6 +94,8 @@ TerminalWidget::TerminalWidget(int ptm_fd, bool automatic_size_policy, RefPtr(); @@ -629,9 +631,9 @@ void TerminalWidget::mousemove_event(GUI::MouseEvent& event) m_hovered_href = {}; } if (!m_hovered_href.is_empty()) - window()->set_cursor(Gfx::StandardCursor::Hand); + set_override_cursor(Gfx::StandardCursor::Hand); else - window()->set_cursor(Gfx::StandardCursor::None); + set_override_cursor(Gfx::StandardCursor::IBeam); update(); } @@ -667,7 +669,6 @@ void TerminalWidget::mousemove_event(GUI::MouseEvent& event) void TerminalWidget::leave_event(Core::Event&) { - window()->set_cursor(Gfx::StandardCursor::None); bool should_update = !m_hovered_href.is_empty(); m_hovered_href = {}; m_hovered_href_id = {};