On Mon, Mar 30, 2026 at 05:59:37PM +0800, Kevin J. McCarthy wrote: > Use the advice in the S-Lang docs: perform a SLtt_get_screen_size(), > and then SLsmg_reinit_smg(). SLtt_get_screen_size() does more than > just update SLtt_Screen_Rows/Cols, it also resizes internal buffers. > > I believe this is why the reset/init were crashing, because the > reset/init (now subsumed by the call to reinit) were assuming the data > structures were already resized. > > The docs also suggest calling SLsmg_reinit_smg() instead of separate > SLsmg_reset_smg() SLsmg_init_smg() calls, so also change that. > --- > This is based on top of the reformatting fixes and Rene's queued > patches. See branch kevin/slang-debugging on gitlab. > > If you are willing, please help test to make sure the crash is really > gone. The only way to trigger was to sit there jiggling resize on a > window for a random amount of time (sometimes seconds, but sometimes for > minutes!). So I'm not absolutely positive it's fixed, but I haven't > been able to trigger it after trying this afternoon.
Is there some context here, like a bug report?
