reflow branch: cursor positions get set to -1,-1
Bug #1861444 reported by
Björn Linse
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libvterm |
New
|
Undecided
|
Unassigned |
Bug Description
Libvterm gives the following assertion error
ASSERT fail: resize moved cursor outside the field to (-1,-1)
which causes subsequent errors, i e attempting to fetch the cell gives an invalid cell with width zero, which causes an infinite loop in pangoterm.
This happens after after cat:ing some text and then returning to zsh shell prompt, and then making the terminal very narrow (narrower than the shell prompt, roughly)
To post a comment you must log in.
> then making the terminal very narrow (narrower than the shell prompt, roughly)
I think this may be the killer part. It's about making the window narrower than the current cursor position. It doesn't normally break for me but my $PS1 ends "...\n$ " whereas if I set one that doesn't have a near-end linefeed, then I can get mine to break a lot earlier, in the same way.