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

Comparing rxvt-unicode/src/rxvtperl.xs (file contents):
Revision 1.88 by root, Sun Jan 22 00:36:59 2006 UTC vs.
Revision 1.90 by root, Sun Jan 22 20:39:47 2006 UTC

1174 if (events != EVENT_UNDEF) 1174 if (events != EVENT_UNDEF)
1175 THIS->pty_ev.set (events); 1175 THIS->pty_ev.set (events);
1176 OUTPUT: 1176 OUTPUT:
1177 RETVAL 1177 RETVAL
1178 1178
1179int
1180rxvt_term::pty_fd ()
1181 CODE:
1182 RETVAL = THIS->pty->pty;
1183 OUTPUT:
1184 RETVAL
1185
1179Window 1186Window
1180rxvt_term::parent () 1187rxvt_term::parent ()
1181 CODE: 1188 CODE:
1182 RETVAL = THIS->parent [0]; 1189 RETVAL = THIS->parent [0];
1183 OUTPUT: 1190 OUTPUT:
1531 if (items == 3) 1538 if (items == 3)
1532 { 1539 {
1533 rc.row = SvIV (ST (1)); 1540 rc.row = SvIV (ST (1));
1534 rc.col = SvIV (ST (2)); 1541 rc.col = SvIV (ST (2));
1535 1542
1536 if (ix == 2 && rc.col == 0) 1543 if (ix == 2)
1537 { 1544 {
1545 if (rc.col == 0)
1546 {
1547 // col == 0 means end of previous line
1538 rc.row--; 1548 rc.row--;
1539 rc.col = THIS->ncol; 1549 rc.col = THIS->ncol;
1550 }
1551 else if (IN_RANGE_EXC (rc.row, THIS->top_row, THIS->nrow)
1552 && rc.col > ROW(rc.row).l)
1553 {
1554 // col >= length means while line and add newline
1555 rc.col = THIS->ncol;
1556 }
1540 } 1557 }
1541 1558
1542 clamp_it (rc.col, 0, THIS->ncol); 1559 clamp_it (rc.col, 0, THIS->ncol);
1543 clamp_it (rc.row, THIS->top_row, THIS->nrow - 1); 1560 clamp_it (rc.row, THIS->top_row, THIS->nrow - 1);
1544 1561

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines