nadrad / h-m-m

Hackers Mind Map
GNU General Public License v3.0
1.89k stars 53 forks source link

Undesired characters before "Saved..." message after saving with the "s" keybinding #36

Closed llagerlof closed 2 years ago

llagerlof commented 2 years ago

Fedora 36 / gnome-terminal / Bash


When I save using "s", a strange output appear before "Saved..." message.

hmm-characters-strange

nadrad commented 2 years ago

That could only happen if the terminal width is zero in one of the formulas. However, if the application can't detect the terminal width correctly, lots of things must go wrong.

I've made some changes, and it probably works fine for you now. However, please check to see whether the message is aligned to the left or right of the screen and let me know, so that I can understand the underlying cause.

llagerlof commented 2 years ago

Thank you. The strange output vanished.

Now the message is aligned to the right of the screen.