This avoids a nasty panic, and shows some more context, but doesn't really fix anything. refs: https://github.com/wez/wezterm/issues/4948
This avoids a nasty panic, and shows some more context, but doesn't really fix anything. refs: https://github.com/wez/wezterm/issues/4948