Lines Matching refs:scroll
85 the console with a large scroll-back buffer. */
176 SMALL_RECT scroll;
183 scroll.Top = vpos - n;
184 scroll.Bottom = FRAME_LINES (f);
189 scroll.Top = vpos;
190 scroll.Bottom = FRAME_LINES (f) - n;
193 scroll.Left = 0;
194 scroll.Right = FRAME_COLS (f);
201 ScrollConsoleScreenBuffer (cur_screen, &scroll, NULL, dest, &fill);
203 /* Here we have to deal with a w32 console flake: If the scroll
204 region looks like abc and we scroll c to a and fill with d we get
205 cbd... if we scroll block c one line at a time to a, we get cdd...
212 if (scroll.Bottom < dest.Y)
214 for (i = scroll.Bottom; i < dest.Y; i++)
223 nb = dest.Y + (scroll.Bottom - scroll.Top) + 1;
225 if (nb < scroll.Top)
227 for (i = nb; i < scroll.Top; i++)
247 /* The idea here is to implement a horizontal scroll in one line to
249 SMALL_RECT scroll;
254 scroll.Top = cursor_coords.Y;
255 scroll.Bottom = cursor_coords.Y;
259 scroll.Left = cursor_coords.X + dist;
260 scroll.Right = FRAME_COLS (f) - 1;
264 scroll.Left = cursor_coords.X;
265 scroll.Right = FRAME_COLS (f) - dist - 1;
274 ScrollConsoleScreenBuffer (cur_screen, &scroll, NULL, dest, &fill);
374 /* delete chars means scroll chars from cursor_coords.X + n to
711 scroll-back buffer. */);