Lines Matching refs:downward
84 static void scroll(VTermState *state, VTermRect rect, int downward, int rightward) in scroll() argument
86 if(!downward && !rightward) in scroll()
90 if(downward > rows) in scroll()
91 downward = rows; in scroll()
92 else if(downward < -rows) in scroll()
93 downward = -rows; in scroll()
103 int height = rect.end_row - rect.start_row - abs(downward); in scroll()
105 if(downward > 0) in scroll()
107 state->lineinfo + rect.start_row + downward, in scroll()
110 memmove(state->lineinfo + rect.start_row - downward, in scroll()
116 if((*state->callbacks->scrollrect)(rect, downward, rightward, state->cbdata)) in scroll()
120 vterm_scroll_rect(rect, downward, rightward, in scroll()