Hello HelenOS community,

This patch fixes the problem of moving the cursor to the beginning of the
screen by pressing Ctrl+L.


=== modified file 'uspace/lib/clui/tinput.c'
--- uspace/lib/clui/tinput.c    2015-10-20 10:08:15 +0000
+++ uspace/lib/clui/tinput.c    2017-03-31 10:39:07 +0000
@@ -952,6 +952,10 @@
        case KC_C:
                tinput_sel_copy_to_cb(ti);
                break;
+       case KC_L:
+               console_clear(ti->console);
+               tinput_display(ti);
+               break;
        case KC_V:
                tinput_sel_delete(ti);
                tinput_paste_from_cb(ti);



Thanks,
Ashish

-- 
Ashish Kumar Gahlot
III year, UG
Govt. Engg. College, Ajmer, India
=== modified file 'uspace/lib/clui/tinput.c'
--- uspace/lib/clui/tinput.c    2015-10-20 10:08:15 +0000
+++ uspace/lib/clui/tinput.c    2017-03-31 10:39:07 +0000
@@ -952,6 +952,10 @@
        case KC_C:
                tinput_sel_copy_to_cb(ti);
                break;
+       case KC_L:
+               console_clear(ti->console);
+               tinput_display(ti);
+               break;
        case KC_V:
                tinput_sel_delete(ti);
                tinput_paste_from_cb(ti);
_______________________________________________
HelenOS-devel mailing list
[email protected]
http://lists.modry.cz/listinfo/helenos-devel

Reply via email to