Hi,

Here is an updated patch for yet better accessibility. I included the
scale.c part again, and added a textbox.c fix which enhances a lot the
accessibility of the debian installer.

Please apply and forward upstream.

Regards,
Samuel
--- newt-0.52.2/scale.c.orig    2006-03-31 01:55:27.000000000 +0200
+++ newt-0.52.2/scale.c 2006-03-31 01:55:43.000000000 +0200
@@ -82,4 +82,6 @@ static void scaleDraw(newtComponent co) 
         else
             SLsmg_write_char(' ');
     }
+    /* put cursor at beginning of text for better accessibility */
+    newtGotorc(co->top, co->left + xlabel);
 }
--- newt-0.52.2/textbox.c.orig  2006-03-31 01:57:08.000000000 +0200
+++ newt-0.52.2/textbox.c       2006-03-31 01:57:11.000000000 +0200
@@ -354,6 +354,8 @@ static void textboxDraw(newtComponent c)
        newtGotorc(c->top + i, c->left);
        SLsmg_write_string(tb->lines[i + tb->topLine]);
     }
+    /* put cursor at beginning of text for better accessibility */
+    newtGotorc(c->top, c->left);
 }
 
 static struct eventResult textboxEvent(newtComponent co, 

Reply via email to