micro-editor / micro-editor/micro

Micro editor goes blank in edge case when started from Termux (+ fix)

Open
#4,079 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Go
Stars
29.6k
Forks
1.4k
Avg merge
2d 18h
Merged PRs (30d)
10

Description

Description

And then only in edge cases:

  • when I install micro in a prooted Debian container inside Termux (sudo apt install micro)
  • and only when I ssh into that container from Termux.
    Inside a VNC session to the prooted Debian, opening a Terminal, micro runs normally.
    On all other platforms (native Termux, Linux, macOS) it runs normally.

And I found a fix on openwrt (where is also runs normally):

https://forum.openwrt.org/t/micro-text-editor/107764/4

wget https://github.com/zyedidia/micro/releases/download/v2.0.10/micro-2.0.10-linux-arm64.tar.gz -qO- |tar xz && mv ./*/micro /usr/bin

I repeated it in the earlier mentioned prooted Debian container and it worked normally.

Environment
  • Version: 2.0.15
  • OS: Debian (prooted under Termux only when ssh'ed into)
  • Terminal: Termux started as SSH from macOS

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 source file or test is identified. First reproduce the blank editor in the reported prooted Debian-in-Termux setup when accessed over SSH, then compare it with the working VNC and other-platform cases and the referenced OpenWrt release command. Done means micro no longer goes blank in the reported SSH scenario without regressing the working cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.