… | |
… | |
370 | Called at the very end of initialisation of a new terminal, just before |
370 | Called at the very end of initialisation of a new terminal, just before |
371 | trying to map (display) the toplevel and returning to the mainloop. |
371 | trying to map (display) the toplevel and returning to the mainloop. |
372 | |
372 | |
373 | =item on_destroy $term |
373 | =item on_destroy $term |
374 | |
374 | |
375 | Called whenever something tries to destroy terminal, before doing anything |
375 | Called whenever something tries to destroy terminal, when the terminal is |
376 | yet. If this hook returns true, then destruction is skipped, but this is |
376 | still fully functional (not for long, though). |
377 | rarely a good idea. |
|
|
378 | |
377 | |
379 | =item on_reset $term |
378 | =item on_reset $term |
380 | |
379 | |
381 | Called after the screen is "reset" for any reason, such as resizing or |
380 | Called after the screen is "reset" for any reason, such as resizing or |
382 | control sequences. Here is where you can react on changes to size-related |
381 | control sequences. Here is where you can react on changes to size-related |