Skip to content

Add multiline text pasting into the input box #12

Description

@zatevakhin

Summary

Allow pasting multiline text directly into the QueryMT TUI input box.

Current behavior

The input box supports typed multiline wrapping visually, but there is no clear support for pasting larger multiline text blocks into the composer in a natural way.

Problem

This makes it awkward to paste prompts, logs, stack traces, code snippets, or other multi-paragraph content into the TUI.

Expected behavior

Users should be able to paste multiline text into the input box and have line breaks preserved correctly.

The pasted content should remain editable in the input box before submission.

Notes

This should work well for common terminal paste flows and should not accidentally submit the message while pasting.

Risks

Terminal paste behavior varies across environments, so robust support may require bracketed paste handling.

Large pasted content may also expose wrapping or cursor-position issues in the current input rendering.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions