-
Notifications
You must be signed in to change notification settings - Fork 696
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TextField unknown character sequence #3889
Comments
Which version of Terminal.Gui are you referencing? I.e. the nuget package version |
Latest nuget release 1.17.1 |
I cannot reproduce this issue with the updated v1_develop branch. Can you please try with it? Perhaps some fix that were not yet been published to the nuget package. Don't forget to call |
Please can you test with https://www.nuget.org/packages/Terminal.Gui/2.0.0-v2-develop.1531 This is the latest v2 package (version numbers are currently messed up on v2) see #3779 I suspect this is parsing of ansi and probably environmental. |
Same issue with v1_develop, are you trying to reproduce with Intel or Silicon based Mac? |
Intel with VM macOS Monterey. It's the only I could install on my laptop with a Windows 11 host. |
@tznind Naamloos.mov |
Are you sure you're calling using Terminal.Gui;
Application.Init();
var textField = new TextField()
{
Width = 48,
Height = 1,
ColorScheme = Colors.Error
};
Application.Top.Add(textField);
Application.Run();
Application.Shutdown(); |
Please try |
@BDisp thats correct. Im using Application.Shutdown() |
No issue with latest |
So this is likely a bug in our driver implementation CursesDriver. But that driver is going to be discontinued soon. I always recommend NetDriver (UseSystemConsole) as it is generally much more reliable - being based on c sharp native methods e.g. Console.WriteLine instead of Curses interop. It would be good to try different consoles e.g. iterm2 etc |
Describe the bug
While clicking ESC & moving cursor at same time unknown character sequence is inserted into TextField.
Nuget Terminal.Gui 1.17.1
To Reproduce
Screenshots
Schermopname.2024-12-19.om.10.16.42.PM.mov
Desktop (please complete the following information):
macOS Sequoia 15.2
The text was updated successfully, but these errors were encountered: