micro
micro copied to clipboard
Micro doesn't quit after closing terminal ; stays open with high CPU usage
Description of the problem or steps to reproduce
Micro doesn't quit; it stays open with high CPU usage after quitting Konsole with KDE "Close Window" or using Ctrl+W in Yakuake.
Happens with the following commands:
sudo crontab -e
sudo visudo
Doesn't happen with the non-sudo versions of the commands.
My .bashrc:
EDITOR=/usr/bin/micro
VISUAL=/usr/bin/micro
My sudoers:
Defaults env_keep += "EDITOR"
Defaults env_keep += "VISUAL"
Screenshot

Specifications
Commit hash: b9763856 OS: EndeavourOS Terminal: Yakuake/Konsole
Same: https://github.com/zyedidia/micro/issues/2148
Fixed.