Issue 166610
Summary [lldb] `help(symbol)` in lldb's embedded Python interpreter shows an empty screen
Labels lldb
Assignees
Reporter JDevlieghere
    Using Python's built-in `help` shows an empty screen when the statusline is enabled.

```
(lldb) script
Python Interactive Interpreter. To exit, type 'quit()', 'exit()' or Ctrl-D.
>>> help(print)
```

This just shows `(END)` at the bottom of the screen, where the statusline line is supposed to be. 

After disabling the statusline with `settings set show-statusline false`, things are back to normal, with the help text printed at the bottom of the screen.

```
Help on built-in function print in module builtins:

print(...)
    print(value, ..., sep=' ', end='\n', file=sys.stdout, flush=False)

    Prints the values to a stream, or to sys.stdout by default.
    Optional keyword arguments:
    file:  a file-like object (stream); defaults to the current sys.stdout.
    sep: string inserted between values, default a space.
    end:   string appended after the last value, default a newline.
    flush: whether to forcibly flush the stream.
(END)
```

rdar://155170974
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to