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
Input is invisible when a line in the prompt is longer than the console width. The issue also occurs when the prompt is filled with ANSI sequences instead of visible text. This does not seem to be a terminal(tested VSCode's, Jetbrains' and Windows Terminal) issue.
Reproduction:
usingSystem.Text;usingPrettyPrompt;// using 4.0.4 off of NuGetvarconfig=newPromptConfiguration();varprompt=newPrompt(configuration:config);while(true){varstr=newStringBuilder("prompt: ");for(inti=0;i<100;i++)str.Append("hellohello");// str.Append("\u001b[0m");config.Prompt=str.ToString();varinput=awaitprompt.ReadLineAsync();Console.WriteLine("input: "+input.Text);}
With appending "hellohello" from the above code:
And with appending the ANSI reset:
The text was updated successfully, but these errors were encountered:
Input is invisible when a line in the prompt is longer than the console width. The issue also occurs when the prompt is filled with ANSI sequences instead of visible text. This does not seem to be a terminal(tested VSCode's, Jetbrains' and Windows Terminal) issue.
Reproduction:
With appending "hellohello" from the above code:
And with appending the ANSI reset:
The text was updated successfully, but these errors were encountered: