[Bug 31365] New: GLI doesn't work property after changing terminal width

Bug ID 31365
Summary GLI doesn’t work property after changing terminal width
Product lldb
Version unspecified
Hardware Macintosh
Status NEW
Severity normal
Priority P
Component All Bugs
Assignee lldb-dev@lists.llvm.org
Reporter sidney@s4y.us
CC llvm-bugs@lists.llvm.org
Classification Unclassified

Created attachment 17751 [details]
Screen recording demonstrating the issue.

If I launch lldb, then change the width of the terminal during the session,
line editing no longer works properly (the cursor lands in the wrong place
after edits, and lines above the current one may be overwritten). Also, gui
mode continues to launch with the old size for the life of the session.

See attached gif for a demo.

version: lldb-360.1.65 (shipped with macOS 10.12.1, I'm not sure what this maps
to in lldb's versioning scheme)