Hi Ashish,

On 03/31/2017 12:41 PM, Ashish Gahlot wrote:
> 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);

The patch fails to apply. Here's the error message:

$ patch -p 0 <tinput_rev2.patch
patching file uspace/lib/clui/tinput.c
Hunk #1 FAILED at 952.
1 out of 1 hunk FAILED -- saving rejects to file
uspace/lib/clui/tinput.c.rej

How did you generate it? It seems to have spaces in places where the
original has tabs.

Jakub

_______________________________________________
HelenOS-devel mailing list
[email protected]
http://lists.modry.cz/listinfo/helenos-devel

Reply via email to