Closed dpi0 closed 4 months ago
That's a good idea, thanks for the PR!
Do you think it would be a good idea to also support the number being more than 1 and just setting the width to that number? i.e. width = 0.4
results in 40% of the screen but width = 40
results in a fixed width of 40 columns?
We probably also want handling for if someone passes in a negative number to just use the default value.
The
width
option allows users to set the size of the terminal window to their preferences instead of the hardcoded 1/2 width of the window size.I've tested this option locally and have respected the default width setting of 1/2.
Also I've updated the README.md to showcase this option.