Allow table title to not be capitalized
See original GitHub issueIs your feature request related to a problem? Please describe.
I’m converting an app from System.Console
to Spectre.Console
and in migrating a custom table output to use Spectre’s Table
resulted in a failing unit test because the table title (which in my case is a filename) no longer matches the actual filename, since the first character of table titles are capitalized in TableRenderer.
Describe the solution you’d like
Even if capitalizing the first letter is the default, I’d love an option to override it for when it’s not desired
Describe alternatives you’ve considered
My current workaround is just to pad the string with a space so that the first character isn’t uppercased, but that’s not ideal.
Additional context
Thanks for building such a wide-ranging and configurable library!
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (5 by maintainers)
Top GitHub Comments
@SteveDesmond-ca That makes perfect sense to me. When I think about it, I don’t think we should capitalize the first letter at all.
@zmrfzn That would be awesome. Much appreciated!