… | |
… | |
1550 | EXTEND (SP, 2); |
1550 | EXTEND (SP, 2); |
1551 | PUSHs (sv_2mortal (newSViv (rc.row))); |
1551 | PUSHs (sv_2mortal (newSViv (rc.row))); |
1552 | PUSHs (sv_2mortal (newSViv (rc.col))); |
1552 | PUSHs (sv_2mortal (newSViv (rc.col))); |
1553 | } |
1553 | } |
1554 | |
1554 | |
1555 | if (items == 3) |
1555 | if (items >= 3) |
1556 | { |
1556 | { |
1557 | rc.row = SvIV (ST (1)); |
1557 | rc.row = SvIV (ST (1)); |
1558 | rc.col = SvIV (ST (2)); |
1558 | rc.col = SvIV (ST (2)); |
1559 | |
1559 | |
1560 | if (ix == 2) |
1560 | if (ix == 2) |
… | |
… | |
1576 | clamp_it (rc.col, 0, THIS->ncol); |
1576 | clamp_it (rc.col, 0, THIS->ncol); |
1577 | clamp_it (rc.row, THIS->top_row, THIS->nrow - 1); |
1577 | clamp_it (rc.row, THIS->top_row, THIS->nrow - 1); |
1578 | |
1578 | |
1579 | if (ix) |
1579 | if (ix) |
1580 | { |
1580 | { |
|
|
1581 | THIS->selection.screen = THIS->current_screen; |
|
|
1582 | |
1581 | THIS->want_refresh = 1; |
1583 | THIS->want_refresh = 1; |
1582 | THIS->refresh_check (); |
1584 | THIS->refresh_check (); |
1583 | } |
1585 | } |
1584 | } |
1586 | } |
1585 | } |
1587 | } |
1586 | |
1588 | |
1587 | char |
1589 | int |
1588 | rxvt_term::cur_charset () |
1590 | rxvt_term::selection_screen (int screen = -1) |
1589 | CODE: |
1591 | CODE: |
1590 | RETVAL = THIS->charsets [THIS->screen.charset]; |
1592 | RETVAL = THIS->selection.screen; |
1591 | OUTPUT: |
1593 | if (screen >= 0) |
|
|
1594 | THIS->selection.screen = screen; |
|
|
1595 | OUTPUT: |
1592 | RETVAL |
1596 | RETVAL |
1593 | |
1597 | |
1594 | void |
1598 | void |
1595 | rxvt_term::selection_clear () |
1599 | rxvt_term::selection_clear () |
1596 | |
1600 | |
… | |
… | |
1619 | |
1623 | |
1620 | THIS->selection.text = sv2wcs (newtext); |
1624 | THIS->selection.text = sv2wcs (newtext); |
1621 | THIS->selection.len = wcslen (THIS->selection.text); |
1625 | THIS->selection.len = wcslen (THIS->selection.text); |
1622 | } |
1626 | } |
1623 | } |
1627 | } |
|
|
1628 | |
|
|
1629 | char |
|
|
1630 | rxvt_term::cur_charset () |
|
|
1631 | CODE: |
|
|
1632 | RETVAL = THIS->charsets [THIS->screen.charset]; |
|
|
1633 | OUTPUT: |
|
|
1634 | RETVAL |
1624 | |
1635 | |
1625 | void |
1636 | void |
1626 | rxvt_term::scr_xor_rect (int beg_row, int beg_col, int end_row, int end_col, U32 rstyle1 = RS_RVid, U32 rstyle2 = RS_RVid | RS_Uline) |
1637 | rxvt_term::scr_xor_rect (int beg_row, int beg_col, int end_row, int end_col, U32 rstyle1 = RS_RVid, U32 rstyle2 = RS_RVid | RS_Uline) |
1627 | |
1638 | |
1628 | void |
1639 | void |