… | |
… | |
487 | my ($self, $name) = (shift, shift); |
487 | my ($self, $name) = (shift, shift); |
488 | unshift @_, $self, $name, ($name =~ s/\s*\+\s*(\d+)$// ? $1 : 0); |
488 | unshift @_, $self, $name, ($name =~ s/\s*\+\s*(\d+)$// ? $1 : 0); |
489 | goto &urxvt::term::_resource; |
489 | goto &urxvt::term::_resource; |
490 | } |
490 | } |
491 | |
491 | |
|
|
492 | =item $rend = $term->screen_rstyle ([$new_rstyle]) |
|
|
493 | |
|
|
494 | Return and optionally change the current rendition. Text thta is output by |
|
|
495 | the temrianl application will use this style. |
|
|
496 | |
|
|
497 | =item ($row, $col) = $term->screen_cur ([$row, $col]) |
|
|
498 | |
|
|
499 | Return the current coordinates of the text cursor position and optionally |
|
|
500 | set it (which is usually bad as applications don't expect that). |
|
|
501 | |
492 | =item ($row, $col) = $term->selection_mark ([$row, $col]) |
502 | =item ($row, $col) = $term->selection_mark ([$row, $col]) |
493 | |
503 | |
494 | =item ($row, $col) = $term->selection_beg ([$row, $col]) |
504 | =item ($row, $col) = $term->selection_beg ([$row, $col]) |
495 | |
505 | |
496 | =item ($row, $col) = $term->selection_end ([$row, $col]) |
506 | =item ($row, $col) = $term->selection_end ([$row, $col]) |
… | |
… | |
580 | |
590 | |
581 | Write the octets given in C<$data> to the tty (i.e. as program input). To |
591 | Write the octets given in C<$data> to the tty (i.e. as program input). To |
582 | pass characters instead of octets, you should convert your strings first |
592 | pass characters instead of octets, you should convert your strings first |
583 | to the locale-specific encoding using C<< $term->locale_encode >>. |
593 | to the locale-specific encoding using C<< $term->locale_encode >>. |
584 | |
594 | |
|
|
595 | =item $window_width = $term->width |
|
|
596 | |
|
|
597 | =item $window_height = $term->height |
|
|
598 | |
|
|
599 | =item $font_width = $term->fwidth |
|
|
600 | |
|
|
601 | =item $font_height = $term->fheight |
|
|
602 | |
|
|
603 | =item $font_ascent = $term->fbase |
|
|
604 | |
585 | =item $nrow = $term->nrow |
605 | =item $terminal_rows = $term->nrow |
586 | |
606 | |
587 | =item $ncol = $term->ncol |
607 | =item $terminal_columns = $term->ncol |
588 | |
608 | |
589 | Return the number of rows/columns of the terminal window (i.e. as |
609 | =item $has_focus = $term->focus |
590 | specified by C<-geometry>, excluding any scrollback). |
|
|
591 | |
610 | |
592 | =item $nsaved = $term->nsaved |
611 | =item $is_mapped = $term->mapped |
593 | |
612 | |
594 | Returns the number of lines in the scrollback buffer. |
613 | =item $max_scrollback = $term->saveLines |
|
|
614 | |
|
|
615 | =item $nrow_plus_saveLines = $term->total_rows |
|
|
616 | |
|
|
617 | =item $lines_in_scrollback = $term->nsaved |
|
|
618 | |
|
|
619 | Return various integers describing terminal characteristics. |
595 | |
620 | |
596 | =item $view_start = $term->view_start ([$newvalue]) |
621 | =item $view_start = $term->view_start ([$newvalue]) |
597 | |
622 | |
598 | Returns the negative row number of the topmost line. Minimum value is |
623 | Returns the negative row number of the topmost line. Minimum value is |
599 | C<0>, which displays the normal terminal contents. Larger values scroll |
624 | C<0>, which displays the normal terminal contents. Larger values scroll |