Do not append suffix to text prompt

Do not append suffix to text prompt unless
there are choices or a default value specified.

Closes #413
This commit is contained in:
Patrik Svensson
2021-07-02 19:06:12 +02:00
committed by Patrik Svensson
parent 865552c3f2
commit 2011cb2eff
5 changed files with 55 additions and 3 deletions

View File

@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Spectre.Console.Tests
{
public sealed class GitHubIssueAttribute : Attribute
{
public int IssueId { get; }
public GitHubIssueAttribute(int issueId)
{
IssueId = issueId;
}
}
}