[Lldb-commits] [PATCH] D81001: [lldb] Display autosuggestion part in gray if there is one possible suggestion

Raphael Isemann via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Aug 6 06:38:55 PDT 2020


teemperor added a comment.

Alright, let's see if the others see any other issues, otherwise I think this is finally good to go.



================
Comment at: lldb/source/Host/common/Editline.cpp:1011
       el_insertstr(m_editline, to_add.c_str());
-      break;
+      if (to_add == " ")
+        return CC_REDISPLAY;
----------------
Without a comment this code is very mysterious to whoever will read it.


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

https://reviews.llvm.org/D81001



More information about the lldb-commits mailing list