Hello Jermar,

To generate the patch I did *bzr diff tinput.c* and copied the output from
the terminal.

Thanks,
Ashish




On Sat, Apr 1, 2017 at 3:00 PM, Jakub Jermář <[email protected]> wrote:

> 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
> <https://mailtrack.io/trace/link/291bf0acd21bf22c04fddb50ee733fee8624622d?url=http%3A%2F%2Flists.modry.cz%2Flistinfo%2Fhelenos-devel&userId=1092297&signature=6333ecc0f3633894>
>



-- 
Ashish Kumar Gahlot
III year, UG
Govt. Engg. College, Ajmer, India
_______________________________________________
HelenOS-devel mailing list
[email protected]
http://lists.modry.cz/listinfo/helenos-devel

Reply via email to