nadrad / h-m-m

Hackers Mind Map

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Going right of terminal width results in messy output

wschroeder opened this issue · comments

I was experimenting with a map larger than the width of my terminal (iTerm2 on MacOS):

image

If I c center on "blue", I get this:

image

What I expect is this (I created this issue so I could PR my solution, so this screenshot comes from my solution):

image

Centering the nodes for does this as well. To get out of it, type |
Not sure what the center node is supposed to do, but not really needed imo.

Here is my proposed PR fix

Thanks