update search results onBufferContentsChange (#3811)

This commit is contained in:
Megan Rogge
2022-05-17 10:00:55 -07:00
committed by GitHub
parent de5df69333
commit a5f2ea336e
14 changed files with 33 additions and 12 deletions
+11
View File
@@ -839,6 +839,17 @@ declare module 'xterm' {
*/
onRender: IEvent<{ start: number, end: number }>;
/**
* Adds an event listener for when data has been parsed by the terminal,
* after {@link write} is called. This event is useful to listen for any
* changes in the buffer.
*
* This fires at most once per frame, after data parsing completes. Note
* that this can fire when there are still writes pending if there is a lot
* of data.
*/
onWriteParsed: IEvent<void>;
/**
* Adds an event listener for when the terminal is resized. The event value
* contains the new size.