Skip to content
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

Accented characters (é,è,ç,....) #6

Open
gdo opened this issue Jan 4, 2025 · 1 comment
Open

Accented characters (é,è,ç,....) #6

gdo opened this issue Jan 4, 2025 · 1 comment

Comments

@gdo
Copy link

gdo commented Jan 4, 2025

Hello,

To use accented characters, could you add the following code to the Key readKey() method in console.dart

} else if (codeUnit == 0xc3) {
  final next = stdin.readByteSync();
  key = Key.printable(utf8.decode([codeUnit, next]));

}

And this import
import 'dart:convert';

@bsutton
Copy link

bsutton commented Feb 14, 2025

I'm not at all familiar with accent characters.

If you are happy raise a PR with appropriate unit tests I would be happy to merge it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants