[Lldb-commits] [PATCH] D84972: Force full gui redraw on Ctrl+L

Luboš Luňák via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Jul 31 13:03:14 PDT 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rG8739445e3221: [lldb] force full gui redraw on Ctrl+L (authored by llunak).
Herald added a subscriber: lldb-commits.

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D84972/new/

https://reviews.llvm.org/D84972

Files:
  lldb/source/Core/IOHandlerCursesGUI.cpp


Index: lldb/source/Core/IOHandlerCursesGUI.cpp
===================================================================
--- lldb/source/Core/IOHandlerCursesGUI.cpp
+++ lldb/source/Core/IOHandlerCursesGUI.cpp
@@ -1287,6 +1287,10 @@
           update = true;
           break;
         case eKeyNotHandled:
+          if (ch == 12) { // Ctrl+L, force full redraw
+            redrawwin(m_window_sp->get());
+            update = true;
+          }
           break;
         case eQuitApplication:
           done = true;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84972.282300.patch
Type: text/x-patch
Size: 515 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20200731/104c20f0/attachment.bin>


More information about the lldb-commits mailing list