Spins in repaint_phyrect due to 0-width cell
Bug #1628477 reported by
James McCoy
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pangoterm |
New
|
Undecided
|
Unassigned |
Bug Description
I don't exactly recall the situation that led to this. I think it was related to resizing the terminal while less was active and then when quitting less pangoterm got stuck in this loop:
828 for(ph_pos.pcol = ph_rect.start_pcol; ph_pos.pcol < ph_rect.end_pcol; ) {
829 VTermPos pos = VTERMPOS_
830
831 VTermScreenCell cell;
832 fetch_cell(pt, pos, &cell);
...
895 ph_pos.pcol += cell.width;
896 }
It seems like this was the last column, if that's relevant, since setting cell.width to 1, in the debugger, just before line 895 executed caused the loop to terminate.
To post a comment you must log in.