micro: Blank screen / hang on startup

Description of the problem or steps to reproduce

A few months now, when running micro it hangs on startup after clearing the console. The only way to terminate the process is to close the terminal or kill it. This happened occasionally for the past months so i thought it was some problem with my machine. For the past 2-3 weeks I can no longer use it 100% of the time. I tried the -debug flag but the the log file didn’t contain anything.

Specifications

Commit hash: 225927b9 OS: Arch Linux - Kernel 6.0.12 Terminal: KDE Konsole

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Reactions: 1
  • Comments: 16 (3 by maintainers)

Most upvoted comments

Uninstall wl-clipboard Install wl-clipboard-rs to fix this issue.

Alright so i have found the culprit who was causing the issue in termux. Basically micro works but when you have the termux-api package installed it’ll refuse to start (Showing a blank screen // unresponsive) probably due to missing clipboard functionality thing (mentioned above) removing the termux-api package fixed micro for me:

apt remove termux-api -y

or as specified above you could try micro with -clipboard internal flag which works. in that case i would alias micro to start with -clipboard internal flag in my bashrc file:

echo "alias micro='micro -clipboard internal'" >> ~/.bashrc

@ixzh