Skip to content

Pasting text cause a crash #347

@nickytonline

Description

@nickytonline

Expected Behavior

When I paste text into the prompt input it gets pasted and I can continue typing then submit or submit as is.

Actual Behavior

If I paste any size text, whether it be one word or a paragraph or more, Rust panics.

thread '<unnamed>' panicked at src/lib.rs:72:37:
called `Result::unwrap()` on an `Err` value: DisplayParsingError(DisplayNotSet)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
fatal runtime error: failed to initiate panic, error 5
zsh: IOT instruction (core dumped)  command-code

Command Code Version

0.25.11

Operating System

macOS

Terminal/IDE

Ghostty v. 1.3.1, build 15212, commit 332b2aefc

Shell

zsh

Additional context

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions