[Lldb-commits] [PATCH] D81001: [lldb] Display autosuggestion part in gray if there is one possible suggestion
Shu Anzai via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Fri Jul 24 05:54:21 PDT 2020
gedatsu217 added a comment.
> That said, are you sure this is the right sequence? \x1b[1Gl seems like it should print the l at column one, which does not sound right...
I thought it did not add up too, but pexpect probably actually outputs these characters.
> The sequence I got in this test was l\x1b[2mp frame\x1b[0m\x1b[1G\r\x1b[9Cl, which seems more believable.
It did not go well... However, `"l" + faint_color + "p frame" + reset + "\x1b[1G" + "l"` passed the test.
This test ensure that the cursor is behind "l", but I do not understand what role "\x1b[1G" plays...
What do you think about this test?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D81001/new/
https://reviews.llvm.org/D81001
More information about the lldb-commits
mailing list