Skip to content

Bug: Clipboard paste is completely broken in TUI on Windows #1663

Description

@Gustavo-Bruno-Araveyro

Description

Description

It is absolutely impossible to paste text from the clipboard into the mimocode TUI/CLI prompt on Windows. The terminal completely ignores any paste commands, making it impossible to input API keys or long multi-line code blocks.

Environment

  • OS: Windows 10 / 11
  • Terminals tested: Windows PowerShell, native CMD, Windows Terminal
  • App version: CLI v0.1.3

Steps to Reproduce

  1. Launch mimo in any Windows terminal.
  2. Copy any text or API key to the system clipboard (Ctrl + C).
  3. Try to paste it into the active TUI session using any known method.

Actual Result

Nothing happens. The input field remains empty. The app completely ignores:

  • Ctrl + V
  • Ctrl + Shift + V
  • Shift + Insert
  • Mouse right-click paste

The interface appears to intercept raw keypresses incorrectly on Windows platforms, blocking the OS-level clipboard bridge.

Expected Behavior

Text from the clipboard should be inserted correctly into the terminal input line.

Plugins

No response

MiMoCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

Windows 10

Terminal

Windoes Terminal, Power Shell

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    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