micro-editor / micro-editor/micro

Feature request: Mouse support on tty

Open
#1,238 4 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

Hello,

I have noticed mouse support works flawlessly on X11 terminals, but not in linux tty with gpm mouse, at least for me. I am using version 1.4.1 of micro, gpm 1.20.7-27-g1fd1941, Arch Linux x86_64 with kernel 4.19.11.

If it's not too much trouble, could you add mouse support for tty?

Lots of thanks.

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 locating micro's terminal input handling and the existing X11 mouse-support path, then determine how gpm events are exposed on a Linux tty. Done means mouse interaction works in tty sessions with gpm while existing X11 terminal behavior remains intact.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.