micro-editor / micro-editor/micro

Numeric keypad: the Enter key does not generate newline

Open
#2,774 15 comments 2 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

System: Arch Linux

Data about micro:
Version: 2.0.11
Commit hash: 225927b9
Compiled on August 09, 2022

Problem: when pressing the Enter key (numeric keypad) it does not generate newline (as expected).
All the other keys in the numeric keypad work fine (both with numlock on, and with numlock off).

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 numeric-keypad Enter behavior on Arch Linux using micro 2.0.11, checking both numlock states and comparing it with the other keypad keys. Trace the input handling entry point for keypad Enter and identify why it does not produce a newline. Done means keypad Enter inserts a newline consistently while the other keypad behavior remains unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, linux
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
43/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.