spectre.console
spectre.console copied to clipboard
Prompt suffix inconsistency
Information
- OS: MacOS
- Version: 0.49.1 (and later)
- Terminal: iTerm2
Describe the bug Prompt suffix (':' colon) is missing in some cases.
Simple prompt without default value. Notice the missing colon:
AnsiConsole.Prompt(
new TextPrompt<string>("no default, no suffix"));
// => no default, no suffix
Simple prompt with default value. Notice the colon is present:
AnsiConsole.Prompt(
new TextPrompt<string>("with default, with suffix").DefaultValue("default"));
// => with default, with suffix (default):
Expected behavior Be consistent :)
Please upvote :+1: this issue if you are interested in it.