commit 58c75fabb676904383f4b1bc176518cbc563d1bf from: Omar Polo date: Tue Mar 16 13:07:51 2021 UTC mode can be NULL at times commit - a97be00d79c310bff9cd8ac4e749bc5da3441930 commit + 58c75fabb676904383f4b1bc176518cbc563d1bf blob - 2401963071d77fb4c503940ab5d0f0cfa1d26a61 blob + 11f3298f3a040c06a28a87ce6525c473c2676dff --- ui.c +++ ui.c @@ -1224,7 +1224,8 @@ redraw_modeline(struct tab *tab) wmove(modeline, 0, 0); wprintw(modeline, "-%c %s ", - spin[tab->s.loading_anim_step], mode); + spin[tab->s.loading_anim_step], + mode == NULL ? "(none)" : mode); pct = (tab->s.line_off + tab->s.curs_y) * 100.0 / tab->s.line_max;