… | |
… | |
262 | Called whenever text is about to be output, with the text as argument. You |
262 | Called whenever text is about to be output, with the text as argument. You |
263 | can filter/change and output the text yourself by returning a true value |
263 | can filter/change and output the text yourself by returning a true value |
264 | and calling C<< $term->scr_add_lines >> yourself. Please note that this |
264 | and calling C<< $term->scr_add_lines >> yourself. Please note that this |
265 | might be very slow, however, as your hook is called for B<all> text being |
265 | might be very slow, however, as your hook is called for B<all> text being |
266 | output. |
266 | output. |
|
|
267 | |
|
|
268 | =item on_tt_write $term, $octets |
|
|
269 | |
|
|
270 | Called whenever some data is written to the tty/pty and can be used to |
|
|
271 | suppress or filter tty input. |
267 | |
272 | |
268 | =item on_line_update $term, $row |
273 | =item on_line_update $term, $row |
269 | |
274 | |
270 | Called whenever a line was updated or changed. Can be used to filter |
275 | Called whenever a line was updated or changed. Can be used to filter |
271 | screen output (e.g. underline urls or other useless stuff). Only lines |
276 | screen output (e.g. underline urls or other useless stuff). Only lines |