mat2cc / redis_tui

Redis terminal application
GNU General Public License v3.0
94 stars 4 forks source link

Doesn't handle strings with a lot of line breaks #4

Open haakonnessjoen opened 10 months ago

haakonnessjoen commented 10 months ago

I tried showing a json string from redis, but the menu-ui breaks.

image

You no longer see the top of the menu on the left side, because the content of the string on the right has more rows than my terminal.

mat2cc commented 10 months ago

Oh, interesting. I will have to think of how to handle scrolling on the details view and make sure it doesn't impact the tree view on the left.

In the mean time, using the --pp-json=false parameter will remove any JSON formatting that is happening. That might help your use case before I get a fix in for this.