mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-27 14:12:09 +00:00
1,021 B
1,021 B
title | date | replyURI | replyTitle | replyType | replyAuthor | replyAuthorURI |
---|---|---|---|---|---|---|
TUIs and accessibility | 2022-06-11T13:13:15-07:00 | https://floss.social/@alcinnz/108460252689906224 | My understanding so far has been limited to "use Gettext…avoid NCurses" | SocialMediaPosting | Adrian Cochrane | https://adrian.geek.nz/ |
ncurses is fine for certain specific purposes, like querying terminal characteristics.
I think if you're building a TUI it should generally be one of multiple options that share a library/backend or it should be something with many alternatives that are at least equivalent, given the poor accessibility of TUIs in general. If one of those things is true, then it should be fine to use ncurses for the TUI.
There's a Python library called "Textualize" for building TUIs and CLI shells. They're working on a web target which they claim can get much better accessibility.