TermUI.Clipboard.PasteAccumulator (TermUI v0.2.0)
View SourceAccumulates bracketed paste content.
Handles the state machine for collecting paste content between paste start and end markers. Supports timeout for incomplete pastes.
Summary
Functions
Checks if currently accumulating.
Adds content to the accumulator.
Completes accumulation and returns the content.
Creates a new paste accumulator.
Resets the accumulator, discarding any partial content.
Starts accumulating paste content.
Checks if paste has timed out.
Types
Functions
Checks if currently accumulating.
Adds content to the accumulator.
Completes accumulation and returns the content.
@spec new() :: t()
Creates a new paste accumulator.
Resets the accumulator, discarding any partial content.
Starts accumulating paste content.
Checks if paste has timed out.
Default timeout is 5000ms.