… | |
… | |
603 | } |
603 | } |
604 | if ($pattern eq $prefix) { |
604 | if ($pattern eq $prefix) { |
605 | $name = "$urxvt::RESCLASS.$k$suffix"; |
605 | $name = "$urxvt::RESCLASS.$k$suffix"; |
606 | |
606 | |
607 | push @{ $term->{perl_ext_3} }, $v->[0]; |
607 | push @{ $term->{perl_ext_3} }, $v->[0]; |
|
|
608 | |
|
|
609 | return 1 unless $isarg; |
608 | |
610 | |
609 | if ($v->[1] eq "boolean") { |
611 | if ($v->[1] eq "boolean") { |
610 | $term->put_option_db ($name, $flag ? "true" : "false"); |
612 | $term->put_option_db ($name, $flag ? "true" : "false"); |
611 | return 1; |
613 | return 1; |
612 | } else { |
614 | } else { |
… | |
… | |
1617 | |
1619 | |
1618 | =item $term->key_release ($state, $keycode[, $time]) |
1620 | =item $term->key_release ($state, $keycode[, $time]) |
1619 | |
1621 | |
1620 | Deliver various fake events to to terminal. |
1622 | Deliver various fake events to to terminal. |
1621 | |
1623 | |
1622 | =item $window_width = $term->width |
1624 | =item $window_width = $term->width ([$new_value]) |
1623 | |
1625 | |
1624 | =item $window_height = $term->height |
1626 | =item $window_height = $term->height ([$new_value]) |
1625 | |
1627 | |
1626 | =item $font_width = $term->fwidth |
1628 | =item $font_width = $term->fwidth ([$new_value]) |
1627 | |
1629 | |
1628 | =item $font_height = $term->fheight |
1630 | =item $font_height = $term->fheight ([$new_value]) |
1629 | |
1631 | |
1630 | =item $font_ascent = $term->fbase |
1632 | =item $font_ascent = $term->fbase ([$new_value]) |
1631 | |
1633 | |
1632 | =item $terminal_rows = $term->nrow |
1634 | =item $terminal_rows = $term->nrow ([$new_value]) |
1633 | |
1635 | |
1634 | =item $terminal_columns = $term->ncol |
1636 | =item $terminal_columns = $term->ncol ([$new_value]) |
1635 | |
1637 | |
1636 | =item $has_focus = $term->focus |
1638 | =item $has_focus = $term->focus ([$new_value]) |
1637 | |
1639 | |
1638 | =item $is_mapped = $term->mapped |
1640 | =item $is_mapped = $term->mapped ([$new_value]) |
1639 | |
1641 | |
1640 | =item $max_scrollback = $term->saveLines |
1642 | =item $max_scrollback = $term->saveLines ([$new_value]) |
1641 | |
1643 | |
1642 | =item $nrow_plus_saveLines = $term->total_rows |
1644 | =item $nrow_plus_saveLines = $term->total_rows ([$new_value]) |
1643 | |
1645 | |
1644 | =item $topmost_scrollback_row = $term->top_row |
1646 | =item $topmost_scrollback_row = $term->top_row ([$new_value]) |
1645 | |
1647 | |
1646 | Return various integers describing terminal characteristics. |
1648 | Return various integers describing terminal characteristics. If an |
|
|
1649 | argument is given, changes the value and returns the previous one. |
1647 | |
1650 | |
1648 | =item $x_display = $term->display_id |
1651 | =item $x_display = $term->display_id |
1649 | |
1652 | |
1650 | Return the DISPLAY used by rxvt-unicode. |
1653 | Return the DISPLAY used by rxvt-unicode. |
1651 | |
1654 | |