noahgorstein / jqp

A TUI playground to experiment with jq
MIT License
2.19k stars 40 forks source link

ui: put space in between input/output on odd terminal width #23

Closed ktprograms closed 2 years ago

ktprograms commented 2 years ago

When the terminal width isn't even, there is a space between the right border of the output box and the end of the terminal, which causes it to not be aligned to the right border of the prompt box.

Add a space in between the input and output boxes to make the border of the output box be aligned to the prompt box.

noahgorstein commented 2 years ago

Thanks for your contribution @ktprograms! Works well for me. That had been annoying me for some time but hadn't done anything about it yet aha 😄 . Cheers.