Issue 157636
Summary After entering and exiting the LLDB GUI, the next command corrupts the status bar
Labels lldb
Assignees
Reporter DavidSpickett
    AArch64 Ubuntu Linux.

```
$ ./bin/lldb
(lldb) 
no target <<< The status bar
```
Open GUI mode:
```
$ ./bin/lldb
(lldb) gui
no target  <<< The status bar
```
Then `F1` and `Exit` the GUI.
```
$ ./bin/lldb
(lldb) gui
(lldb) 
no target << The status bar
```
Up to here, everything is fine. Now enter something:
```
$ ./bin/lldb
(lldb) gui
(lldb) abc
no target << The status bar
```
Works as expected, now hit enter:
```
$ ./bin/lldb
(lldb) gui
(lldb) abc
error: 'abc' is not a valid command. 
no target << The status bar
```
In plain text this looks ok but is in fact corrupted.
<img width="963" height="93" alt="Image" src="" />
Notice that the highlight now spans 2 lines, and the cursor is on the `e` of `target`.

>From here you can enter things but they are hidden behind the status line and pressing enter just causes more corrupted lines.

Here I typed `abc<enter>` a few times:
```
error: 'abc' is not a valid command. 
no target 
error: 'abc' is not a valid command.
no target 
error: 'abc' is not a valid command.
no target 
error: 'abc' is not a valid command.
no target 
error: 'abc' is not a valid command.
no target 
error: 'abc' is not a valid command.
no target 
```
Note that at no point do I see the `abc` I typed because it's being typed "behind" the status bar.


_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to