commit 179f0f58fdda609680cbe2e35261920767de44fa from: Omar Polo date: Thu Mar 11 22:10:29 2021 UTC simplify dispatch_stdio just call redraw_tab instead of re-implementing it in-place. This also fixes a bug with cmd_tab_{next,previous} where the body wasn't updated. commit - 22268e1148bbdbb21f9a0a8fd6ec5f76f63b0434 commit + 179f0f58fdda609680cbe2e35261920767de44fa blob - 596105e960afca96834246fe26c4ba55aa4d04c8 blob + 01090a8afd2133fd138e3443947db4b296b4851b --- ui.c +++ ui.c @@ -1116,21 +1116,7 @@ dispatch_stdio(int fd, short ev, void *d) current_map = base_map; done: - tab = current_tab(); - redraw_tabline(); - redraw_modeline(tab); - redraw_minibuffer(); - restore_cursor(tab); - wrefresh(tabline); - wrefresh(modeline); - - if (in_minibuffer) { - wrefresh(body); - wrefresh(minibuf); - } else { - wrefresh(minibuf); - wrefresh(body); - } + redraw_tab(current_tab()); } static void