micro-editor / micro-editor/micro

Issues with Ctrl+Q to quit

Open
#3,950 2 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

Hi,

OK so I ran into an issue. I installed micro on my NAS, and when I ssh into the system from my computer's terminal, it works perfectly as expected.

However, all NAS programs are web-based, and when I access micro through the NAS's web-based terminal, and I press Ctrl+Q, firefox thinks that i'm trying to close the web page completely and it overrides micro's shortcut. As such, in this web-based terminal, there is no way to quit micro once it is opened.

One way to fix this would be to change the ctrl-q to ctrl-x as it is in nano, which doesn't interfere. The best solution, however, would probably be to implement some sort of way to override and customize the default action keys via command line so that each user could customize it to his own needs.

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

No files or tests are named in the issue. Start by reproducing Ctrl-Q in the reported web-based terminal, then inspect micro's existing keybinding and command-line configuration behavior. Done should mean users can quit micro in that environment and can override or customize the relevant action without interfering with the terminal or browser.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.