micro-editor / micro-editor/micro

ctrl + q ignored under WSL2

Open
#1,543 1 comment 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

On a Windows machine with wsl2 installed execute:

wsl
curl https://getmic.ro | bash
./micro

then hit ctrl+q
expected: quit micro
actual: nothing happens

additional notes

  • if i hit ctrl+e and then type "quit" micro quits as expected.
  • if i open powershell and use ssh to a linux machine - ctrl+q works without any problem. connecting to that same machine from wsl and then hitting ctrl+q fails.

Specifications

Version: 2.0.2
Commit hash: c51f849
Compiled on February 26, 2020
Terminal: Windows Terminal, VSCode terminal

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 issue with WSL2 using wsl, curl https://getmic.ro | bash, and ./micro, then compare Ctrl+Q in Windows Terminal and the VSCode terminal with the working PowerShell SSH case. Done means Ctrl+Q quits micro when connected from WSL2, while the existing quit command continues to work.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.