Skip to content

[Bug] Paste text appears not to work on any Windows console #1967

Closed

Description

@alisonatwork

Description

Paste text appears not to work on any Windows console. I have tried both mintty (Git bash) and Windows Terminal (Powershell) and neither of them work. I also tried installing in a WSL machine, still doesn't work. Mouse paste does not work, keyboard paste does not work. Tried running with --no-alt-screen to get a pure terminal experience and still mouse and keyboard paste does not work. Tried running with TERM=vt100 to force no colors and the most barebones experience possible, still does not work.

(On a side note, running with a custom-built termcap derived from but not the same as xterm-256color also appears to default to vt100 mode, but that's a separate issue. <-- Edit to add that the color part of this appears to be due to supports-color transitive dependency, setting COLORTERM=truecolor detects full color support, not sure if other functionality is hobbled; will check tomorrow and open separate ticket if yes.)

I suspect that this app is doing something weird to hijack the terminal settings in a way that does not work through the Windows console system. I saw some reference to "bracketed paste" in the docs, but there doesn't appear to be way to disable this functionality, even by forcing a dumb terminal. It's possible this is the same issue as #1456.

Environment

  • OS: Windows 11 25H2 (Build 26200)
  • Node version: v24.22.2
  • Nanocoder version: 1.32.0
  • Provider: N/A
  • Model: N/A

Steps to Reproduce

  1. Open Git Bash terminal (mintty) or Windows Terminal session
  2. npm install -g @nanocollective/nanocoder
  3. nanocoder
  4. Wizard-style setup kicks off to set up a model
  5. Cannot paste URL, API key, or anything else (Ctrl-V, Ctrl-Shift-V, Win-V, Shift-Ins, middle click, right click, shift-middle click, shift-right click, context menu paste, etc)

Expected Behavior

Standard terminal paste button (keyboard or mouse) should paste.

Actual Behavior

Nothing. There is no indication that anything got pasted.

Logs/Screenshots

N/A

Additional Context

  • I have searched existing issues to ensure this is not a duplicate
  • I can reproduce this issue consistently
  • This issue occurs with the latest version of nanocoder

Activity

  1. added
    bug
    on Nov 6, 2026
  2. added
    needs-triage
    on Nov 6, 2026
  3. changed the title [-][Bug][/-] [+][Bug] Paste text appears not to work on any Windows console[/+] on Nov 6, 2026
  4. alisonatwork commented on Nov 6, 2026

    @alisonatwork
    ContributorAuthor

    Workaround

    Downgrading to 1.30.0 (prior to introduction of bracketed paste and alternate screen) on WSL and blowing away all the directories I could find seems to have fixed it in WSL ($HOME/.config/nanocoder and project .nanocoder). Outside of WSL seems like there are more directories to delete to ensure a clean reset of the settings - $LOCALAPPDATA/nanocoder, $APPDATA/nanocoder and .nanocoder.

  5. added
    area:cli
    area:tui
    and removed
    needs-triage
    on Nov 8, 2026
  6. alisonatwork commented on Nov 14, 2026

    @alisonatwork
    ContributorAuthor

    Testing with the latest commit on main with #1501:

    • Git Bash (mintty) can paste into API URL and token fields in settings ✅
    • Powershell (Windows Terminal) can paste into API URL and token fields in settings ✅

    I didn't test WSL yet, but since this seems to have been a bracketed paste issue and not a terminal app or Windows console issue, I think we can close this issue as resolved by #1501 - thank you!

  7. alisonatwork commented on Nov 14, 2026

    @alisonatwork
    ContributorAuthor

    For posterity also checked in WSL (Windows Terminal), paste working there too ✅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:cliarea:tuibug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions