… | |
… | |
1346 | my $res = &x_resource; |
1346 | my $res = &x_resource; |
1347 | |
1347 | |
1348 | $res =~ /^\s*(?:true|yes|on|1)\s*$/i ? 1 : defined $res && 0 |
1348 | $res =~ /^\s*(?:true|yes|on|1)\s*$/i ? 1 : defined $res && 0 |
1349 | } |
1349 | } |
1350 | |
1350 | |
|
|
1351 | =item $action = $term->lookup_keysym ($keysym, $state) |
|
|
1352 | |
|
|
1353 | Returns the action bound to key combination C<($keysym, $state)>, |
|
|
1354 | if a binding for it exists, and C<undef> otherwise. |
|
|
1355 | |
1351 | =item $success = $term->bind_action ($key, $action) |
1356 | =item $success = $term->bind_action ($key, $action) |
1352 | |
1357 | |
1353 | Adds a key binding exactly as specified via a C<keysym> resource. See the |
1358 | Adds a key binding exactly as specified via a C<keysym> resource. See the |
1354 | C<keysym> resource in the urxvt(1) manpage. |
1359 | C<keysym> resource in the urxvt(1) manpage. |
1355 | |
1360 | |
… | |
… | |
1612 | |
1617 | |
1613 | =item $term->key_release ($state, $keycode[, $time]) |
1618 | =item $term->key_release ($state, $keycode[, $time]) |
1614 | |
1619 | |
1615 | Deliver various fake events to to terminal. |
1620 | Deliver various fake events to to terminal. |
1616 | |
1621 | |
1617 | =item $window_width = $term->width |
1622 | =item $window_width = $term->width ([$new_value]) |
1618 | |
1623 | |
1619 | =item $window_height = $term->height |
1624 | =item $window_height = $term->height ([$new_value]) |
1620 | |
1625 | |
1621 | =item $font_width = $term->fwidth |
1626 | =item $font_width = $term->fwidth ([$new_value]) |
1622 | |
1627 | |
1623 | =item $font_height = $term->fheight |
1628 | =item $font_height = $term->fheight ([$new_value]) |
1624 | |
1629 | |
1625 | =item $font_ascent = $term->fbase |
1630 | =item $font_ascent = $term->fbase ([$new_value]) |
1626 | |
1631 | |
1627 | =item $terminal_rows = $term->nrow |
1632 | =item $terminal_rows = $term->nrow ([$new_value]) |
1628 | |
1633 | |
1629 | =item $terminal_columns = $term->ncol |
1634 | =item $terminal_columns = $term->ncol ([$new_value]) |
1630 | |
1635 | |
1631 | =item $has_focus = $term->focus |
1636 | =item $has_focus = $term->focus ([$new_value]) |
1632 | |
1637 | |
1633 | =item $is_mapped = $term->mapped |
1638 | =item $is_mapped = $term->mapped ([$new_value]) |
1634 | |
1639 | |
1635 | =item $max_scrollback = $term->saveLines |
1640 | =item $max_scrollback = $term->saveLines ([$new_value]) |
1636 | |
1641 | |
1637 | =item $nrow_plus_saveLines = $term->total_rows |
1642 | =item $nrow_plus_saveLines = $term->total_rows ([$new_value]) |
1638 | |
1643 | |
1639 | =item $topmost_scrollback_row = $term->top_row |
1644 | =item $topmost_scrollback_row = $term->top_row ([$new_value]) |
1640 | |
1645 | |
1641 | Return various integers describing terminal characteristics. |
1646 | Return various integers describing terminal characteristics. If an |
|
|
1647 | argument is given, changes the value and returns the previous one. |
1642 | |
1648 | |
1643 | =item $x_display = $term->display_id |
1649 | =item $x_display = $term->display_id |
1644 | |
1650 | |
1645 | Return the DISPLAY used by rxvt-unicode. |
1651 | Return the DISPLAY used by rxvt-unicode. |
1646 | |
1652 | |