spectreconsole / spectre.console

A .NET library that makes it easier to create beautiful console applications.

Home Page:https://spectreconsole.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Prompt text is erased upon backspace when the prompt text is a secret and its mask is null.

danielcweber opened this issue · comments

Describe the bug
Prompt text is erased upon backspace when the prompt text is a secret and its mask is null.

To Reproduce
Create secret Prompt with a null mask. Show the Prompt. Enter a few characters, then backspace. The prompt text will be deleted.

Expected behavior
Prompt text deletion should stop after the ultimate character of the prompt text.