shift_window_buffer
shift_window_buffer(window, get_thread_wsaved() - 1, t);
shift_window_buffer(window, tp->w_saved - 1, tp);