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

Comparing rxvt-unicode/src/urxvt.pm (file contents):
Revision 1.244 by sf-exg, Mon Oct 13 12:17:48 2014 UTC vs.
Revision 1.245 by root, Mon Dec 22 09:10:12 2014 UTC

1512 1512
1513=item $term->scr_add_lines ($string) 1513=item $term->scr_add_lines ($string)
1514 1514
1515Write the given text string to the screen, as if output by the application 1515Write the given text string to the screen, as if output by the application
1516running inside the terminal. It may not contain command sequences (escape 1516running inside the terminal. It may not contain command sequences (escape
1517codes), but is free to use line feeds, carriage returns and tabs. The 1517codes - see C<cmd_parse> for that), but is free to use line feeds,
1518string is a normal text string, not in locale-dependent encoding. 1518carriage returns and tabs. The string is a normal text string, not in
1519locale-dependent encoding.
1519 1520
1520Normally its not a good idea to use this function, as programs might be 1521Normally its not a good idea to use this function, as programs might be
1521confused by changes in cursor position or scrolling. Its useful inside a 1522confused by changes in cursor position or scrolling. Its useful inside a
1522C<on_add_lines> hook, though. 1523C<on_add_lines> hook, though.
1523 1524
1531locale-specific encoding of the terminal and can contain command sequences 1532locale-specific encoding of the terminal and can contain command sequences
1532(escape codes) that will be interpreted. 1533(escape codes) that will be interpreted.
1533 1534
1534=item $term->tt_write ($octets) 1535=item $term->tt_write ($octets)
1535 1536
1536Write the octets given in C<$octets> to the tty (i.e. as program input). To 1537Write the octets given in C<$octets> to the tty (i.e. as user input
1538to the program, see C<cmd_parse> for the opposite direction). To pass
1537pass characters instead of octets, you should convert your strings first 1539characters instead of octets, you should convert your strings first to the
1538to the locale-specific encoding using C<< $term->locale_encode >>. 1540locale-specific encoding using C<< $term->locale_encode >>.
1539 1541
1540=item $term->tt_write_user_input ($octets) 1542=item $term->tt_write_user_input ($octets)
1541 1543
1542Like C<tt_write>, but should be used when writing strings in response to 1544Like C<tt_write>, but should be used when writing strings in response to
1543the user pressing a key, to invoke the additional actions requested by 1545the user pressing a key, to invoke the additional actions requested by

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines