micro-editor / micro-editor/micro

Windows Terminal Mouse and Keyboard Shortcuts not working

Open
#1,864 8 comments 3 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

When opening micro through Windows Terminal (PowerShell or PowerShell Core) I have no mouse support and some keyboard shortcuts do not work: Alt+Up, Alt+Down.

When opening micro directly through PowerShell or PowerShell Core, both the mouse and the keyboard shortcuts work correctly.

I am unsure if this is a micro issue or a Windows Terminal issue, but I figured this was a good place to start. Thanks!

Specifications

Commit hash:
OS:
Terminal:

micro --version
Version: 2.0.7
Commit hash: 5044ccf6
Compiled on September 06, 2020

Windows Terminal
Version: 1.1.2021.0

[Environment]::OSVersion
Platform ServicePack Version      VersionString
-------- ----------- -------      -------------
 Win32NT             10.0.18362.0 Microsoft Windows NT 10.0.18362.0

$PSVersionTable
Name                           Value
----                           -----
PSVersion                      7.0.3
PSEdition                      Core
GitCommitId                    7.0.3
OS                             Microsoft Windows 10.0.18362
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

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

Reproduce the report by opening micro 2.0.7 through Windows Terminal with PowerShell or PowerShell Core, then compare mouse support and Alt+Up/Alt+Down with micro opened directly through PowerShell. Check the reported micro, Windows Terminal, Windows, and PowerShell versions first; done requires identifying whether the behavior belongs to micro or Windows Terminal.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, powershell
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.