4 ms·
Then you make your software unusable for everyone who needs to use languages other than English. For example, I can't reliably type Devanagari (the script used
by GeneralMaximus 5y ago
Then you make your software unusable for everyone who needs to use languages other than English. For example, I can't reliably type Devanagari (the script used by Hindi, Marathi, Nepali, and a bunch of other South Asian languages) into any terminal on any operating system.
You also make your software unusable for people who use assistive software. TUIs are not accessible by default, GUIs can be with only a tiny bit of effort.
TUIs are perfectly fine for internal tooling, but any piece of software intended for general distribution should ship with a proper GUI. Even a basic Electron UI beats TUI in terms of accessibility and internationalization support.
- Arnavion 5y agoMy terminal (foot) supports IME just fine, using the same protocol that a GUI application uses.
- GeneralMaximus 5y agoIt's not just about the IME. I'm on macOS, where it's possible to type Devanagari/Gurumukhi into both iTerm and Terminal.app without any issues. However, neither of the emulators can render the typed text correctly. I tried typing "नमस्ते" into both just now, and they both broke in different ways. Here's iTerm failing to render a half स: https://imgur.com/a/vg1i4aB https://imgur.com/a/vg1i4aB Here's Terminal.app messing up how the quotation mark gets rendered: https://imgur.com/a/B5zd85V https://imgur.com/a/B5zd85V Can foot handle this case? What about GNOME Terminal, Konsole, and Windows Terminal? If I can't reliably read Hindi text on the commonly used terminal emulators on all three major operating systems, then from my perspective a TUI app is worse in every way compared to a native GUI app or even an Electron app.
- dotancohen 5y agoHow is this, in KDE's Konsole? https://imgur.com/a/xYjUQRv https://imgur.com/a/xYjUQRv
- mnsc 5y agoI have exactly 0 knowledge of Devanagari/Gurumukhi but I think the issue is this vertical bar that shouldn't be there when those characters are next to each other. https://i.imgur.com/DcMGta0.png https://i.imgur.com/DcMGta0.png
- dotancohen 5y agoI see, thank you.
- Arnavion 5y ago(I'm a native Hindi speaker.) It's not wrong. Note that it's not a single vertical line, but a line with a smaller line below it (a halant). This has the same meaning as not having that line entirely, namely that the letter is a "half-sound" s rather than a "full-sound" sa. It's just that nobody would write it this way as part of the word namaste; it's only used when talking about the sound standalone or when the half-sound is at the end of a word. (The latter is rare in Hindi, because Hindi is less precise about denoting half-sounds at the ends of words, compared to something like Sanskrit.) However the halant does seem to be cut too short, perhaps because it's exceeding the terminal's line height. The terminal may need to be configured to use a smaller font size for the Devnagari font. The halant renders fine in foot without having to tweak the size, but of course it depends on what font is getting used in my case vs yours. Another problem in that picture is that the horizontal line between the n and m has a tiny break, which it shouldn't.
- dotancohen 5y agoThank you for your input. I've filed an issue with your comments here: https://bugs.kde.org/show_bug.cgi?id=451716 https://bugs.kde.org/show_bug.cgi?id=451716 If you have other issues that you would like me to check, just reply back here. Thank you.