MiMo-Code icon indicating copy to clipboard operation
MiMo-Code copied to clipboard

bug: Cannot paste text in MiMoCode on Windows PowerShell (right-click and Ctrl+V not working)

Open amine123max opened this issue 5 months ago • 5 comments

Problem

Unable to paste text into MiMoCode on Windows PowerShell. Both right-click paste and Ctrl+V do not work.

Steps to reproduce

  1. Run MiMoCode in Windows PowerShell (not Windows Terminal, not WSL)
  2. Copy text to clipboard
  3. Try to paste using right-click or Ctrl+V
  4. Nothing happens - no text is pasted

Environment

  • OS: Windows (Windows 10/11)
  • Terminal: Windows PowerShell (powershell.exe)
  • MiMo Code: 0.1.0-preview.0 (npm @mimo-ai/cli)

Expected behavior

Should be able to paste text using right-click or Ctrl+V, as this works in regular PowerShell.

Additional information

  • Right-click paste works in regular PowerShell, but not in MiMoCode
  • Ctrl+V does not work either
  • Related to issue #242 (Right-click paste not working on Windows Console)
  • This issue affects both right-click and keyboard paste methods

Possible root cause

MiMoCode's TUI (Ink-based) captures all keyboard and mouse events but does not handle paste operations properly on Windows PowerShell.

amine123max avatar Jun 15 '26 12:06 amine123max

same as me, Ctrl+V, Ctrl+Shift+V, Shift+Insert, all failed to paste. Mimo Code 0.1.1

adivisi-project avatar Jun 22 '26 05:06 adivisi-project

Mimo Code 0.1.3, Windows 10. Paste isnt working for me either.

gerber1980 avatar Jun 28 '26 15:06 gerber1980

Same for me I tried runnig inside cmd the problem persists

MehdiDolati avatar Jun 29 '26 11:06 MehdiDolati

@MehdiDolati @amine123max @adivisi-project @gerber1980 there is an simple fix right click on title bar of cmd and here go to edit and click on past it will past you copy content in the chat bar. even img. it is an slow but it works. few thing if this not work then try it this way. first ctrl + v then to go to edit option and then past. ensure that you are ponitng to chat bar.

12errh avatar Jul 06 '26 21:07 12errh

@MehdiDolati @amine123max @adivisi-project @gerber1980 there is an simple fix right click on title bar of cmd and here go to edit and click on past it will past you copy content in the chat bar. even img. it is an slow but it works. few thing if this not work then try it this way. first ctrl + v then to go to edit option and then past. ensure that you are ponitng to chat bar.

thank you very much solved my problem

MehdiDolati avatar Jul 14 '26 11:07 MehdiDolati