Appends the current TTY output to a chunk buffer, clears the output state, and triggers a post operation if more than 100 milliseconds have elapsed since the last update.
def print(
tty: object
) - > null
Buffers and flushes terminal output chunks to the main thread or display interface. This function manages output flow by batching text data and triggering a post operation if a specific time threshold has passed since the last update.
Parameters
| Name | Type | Description |
|---|---|---|
| tty | object | The terminal state object containing the current output buffer to be processed and cleared. |
Returns
| Type | Description |
|---|---|
null | Nothing is returned; the function modifies the tty object state and global buffers. |