libyui / libyui-ncurses

libyui-ncurses
http://doc.opensuse.org/projects/libyui
19 stars 18 forks source link

Cursor doesn't track active widget in a dialog #110

Open mgorse opened 3 years ago

mgorse commented 3 years ago

Could we have the cursor track the selected item in a menu or dialog? For a blind user using a screen reader or a Braille display, this would make the ncurses interface easier to use.

shundhammer commented 3 years ago

I can understand the reasoning, and if the Braille display can actually give you that information, that would probably be a real improvement for blind users.

But we'll have to investigate what that means for non-blind users; if in that case the cursor visually gets in the way (as a blinking cursor on the selected item or maybe on the button that has the keyboard focus?), and how this behaves with different terminal types (xterm / Linux console / vt100 / ...).

And if that works well, it still needs to be implemented in a gazillion code locations in all the libyui-ncurses code. I fear it's not a trivial thing, unfortunately.

mgorse commented 3 years ago

Thanks for the reply. If it does wind up causing unwanted side effects, then I wonder if the behavior could be made optional somehow. Anyway, I've tried to make a patch but didn't get very far with it; I'm not all that familiar with the code, and, even if I add a move somewhere, it might be undone later during a redraw or some such.