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
The color table [1] implies that the title string can be centered.
I found the SetTitle function, which takes a format string as its first argument, so if I know the terminal width, I could presumably use sprintf-style formatting... but is that a property I can grab?
Or is there an easier way of centering the title string?
Describe the bug
Thanks for the great library!
The color table [1] implies that the title string can be centered.
I found the SetTitle function, which takes a format string as its first argument, so if I know the terminal width, I could presumably use sprintf-style formatting... but is that a property I can grab?
Or is there an easier way of centering the title string?
Thanks again for the great library!
[1] https://github.com/jedib0t/go-pretty/blob/master/cmd/demo-table/demo-colors.png
The text was updated successfully, but these errors were encountered: