Follow-up Comment #4, bug #35757 (project screen): I have an idea, but I am not sure if I am not completely wrong. When is screen calculating resize it uses current cursor location, but I think that it should use the position where the cursor was before entering altscreen. I have tried this small modification and segfault is gone.
diff --git a/src/ansi.c b/src/ansi.c index d88e153..8df79b2 100644 --- a/src/ansi.c +++ b/src/ansi.c @@ -1438,8 +1438,8 @@ int c, intermediate; } else { - LeaveAltScreen(curr); RestoreCursor(&curr->w_alt.cursor); + LeaveAltScreen(curr); } if (a1 == 47 && !i) curr->w_saved.on = 0; _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?35757> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/