micro-editor / micro-editor/micro

Copy from micro to another program does not work when micro running over ssh from Git Bash

Open
#3,275 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
29.6k
Forks
1.4k
Avg merge
2d 18h
Merged PRs (30d)
10

Description

Description of the problem or steps to reproduce

Copy from micro does not work, paste do micro does work.

Specifications

micro -version
Version: 2.0.13
Commit hash: 68d88b57
Compiled on October 21, 2023

OS: Running micro on linux
Terminal: Windows Git Bash

I'm running Git Bash on MS-Windows, and doing a ssh from there to linux VM.
Usually I hit Ctrl-Ins to copy the text from the terminal, and Shift-Ins to paste to terminal.
This works if I use nano or vi, but copying from micro does not work.

Ctrl-C in micro seems to copy, but only within micro.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported case: run micro over SSH from Windows Git Bash on Linux, copy with Ctrl-Ins, and paste into another program; compare the behavior with nano or vi. Done means copying from micro works outside the editor while paste into micro continues to work. The issue names no files, tests, or entry points to inspect.

Written by the indexing model from the issue text.

Assessment

Tech stack
bash, go, linux
Domain
cli, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.