You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A quirk of most monospace fonts and how characters are often printed in the terminal, means that a padding of (0, 1) gives a more even padding than (0, 0).
What problem does it solved for you?
This can be solved by the user by simply suppling the padding parameter as I have above.
I am aware that this may just be a suggestion to change the default to my personal preference, but I feel that this extra padding means the edge of the text is more evenly centred in the panel than the current default. This would make the default behaviour of rich closer to the default behaviour of many other tools, for example:
HTML <input> box (on Chrome):
HTML <input> box (on Firefox):
Microsoft Word Text Box:
The text was updated successfully, but these errors were encountered:
How would you improve Rich?
At the moment panels have no default padding:
I propose adding a default left and right padding to make the output more aesthetically pleasing:
A quirk of most monospace fonts and how characters are often printed in the terminal, means that a padding of
(0, 1)
gives a more even padding than(0, 0)
.What problem does it solved for you?
This can be solved by the user by simply suppling the
padding
parameter as I have above.I am aware that this may just be a suggestion to change the default to my personal preference, but I feel that this extra padding means the edge of the text is more evenly centred in the panel than the current default. This would make the default behaviour of
rich
closer to the default behaviour of many other tools, for example:HTML
<input>
box (on Chrome):HTML
<input>
box (on Firefox):Microsoft Word Text Box:
The text was updated successfully, but these errors were encountered: