Skip to main content

DEFAULT_PASTE_IDLE_TIMEOUT

Constant DEFAULT_PASTE_IDLE_TIMEOUT 

Source
pub const DEFAULT_PASTE_IDLE_TIMEOUT: Duration;
Expand description

Default bracketed-paste idle timeout.

When a paste has been opened (a PasteStart was emitted) and no further input arrives within this window, the source synthesises a PasteEnd, flushes any held-back bytes as a final PasteChunk, and clears the decoder’s paste state. Guards against terminators that never arrive (truncated stream, malformed input).