Skip to content
Snippets Groups Projects
Commit 9e582496 authored by deuce's avatar deuce
Browse files

For those using screen readers, place the (normally invisible) cursor at

the beginning of the currently selected option.
parent c5167351
No related branches found
No related tags found
No related merge requests found
......@@ -978,6 +978,8 @@ int ulist(int mode, int left, int top, int width, int *cur, int *bar
if(api->timedisplay != NULL)
api->timedisplay(/* force? */FALSE);
gotkey=0;
textattr(((api->lbclr)&0x0f)|((api->lbclr >> 4)&0x0f));
gotoxy(s_left+lbrdrwidth+2+left, s_top+y);
if(kbwait() || (mode&(WIN_POP|WIN_SEL))) {
if(mode&WIN_POP)
gotkey=ESC;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment