ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/screen.C
(Generate patch)

Comparing rxvt-unicode/src/screen.C (file contents):
Revision 1.238 by root, Thu Jan 19 16:22:13 2006 UTC vs.
Revision 1.239 by root, Thu Jan 19 17:14:46 2006 UTC

325 qline->l = ncol; 325 qline->l = ncol;
326 qline->is_longer (1); 326 qline->is_longer (1);
327 327
328 int qcol = 0; 328 int qcol = 0;
329 329
330 // see below for cursor adjustment rationale
331 if (p == ocur.row)
332 screen.cur.row = q - (total_rows - nrow);
333
330 // fill a single destination line 334 // fill a single destination line
331 while (lofs < llen && qcol < ncol) 335 while (lofs < llen && qcol < ncol)
332 { 336 {
333 int prow = lofs / prev_ncol; 337 int prow = lofs / prev_ncol;
334 int pcol = lofs % prev_ncol; 338 int pcol = lofs % prev_ncol;
388 row_buf [row].clear (); scr_blank_screen_mem (row_buf [row], DEFAULT_RSTYLE); 392 row_buf [row].clear (); scr_blank_screen_mem (row_buf [row], DEFAULT_RSTYLE);
389 } 393 }
390 394
391 term_start = 0; 395 term_start = 0;
392 } 396 }
393
394#ifdef DEBUG_STRICT //TODO: remove
395 for (int i = top_row; i < nrow; i++)
396 assert (ROW (i).t);
397#endif
398 397
399 free (old_buf); 398 free (old_buf);
400 delete old_ta; 399 delete old_ta;
401 delete old_ra; 400 delete old_ra;
402 401

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines