pub static EVENT_STREAM: LazyLock<Mutex<EventStream>>Expand description
Singleton for EventStream. If a new EventStream is created for each Prompt::run, it causes the error “The cursor position could not be read within a normal duration”. See https://github.com/crossterm-rs/crossterm/issues/963#issuecomment-2571259264 for more details.