浏览代码

LibVT: Update TerminalWidget after double-click selection

Previously we had to wait for the cursor to blink before we actually
got to see what got selected from double-clicking.
Andreas Kling 4 年之前
父节点
当前提交
192e2d5d50
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      Userland/Libraries/LibVT/TerminalWidget.cpp

+ 1 - 0
Userland/Libraries/LibVT/TerminalWidget.cpp

@@ -734,6 +734,7 @@ void TerminalWidget::doubleclick_event(GUI::MouseEvent& event)
 
         m_selection.set({ position.row(), start_column }, { position.row(), end_column });
         update_copy_action();
+        update();
     }
     GUI::Frame::doubleclick_event(event);
 }