[MPlayer-cvslog] CVS: main/osdep getch2-win.c,1.8,1.9

Ivan Kalvachev ikalvachev at gmail.com
Tue Dec 27 13:28:23 CET 2005


2005/12/27, Oded Shimon CVS <syncmail at mplayerhq.hu>:
> CVS change done by Oded Shimon CVS
>
> Update of /cvsroot/mplayer/main/osdep
> In directory mail:/var2/tmp/cvs-serv13075/osdep
>
> Modified Files:
>         getch2-win.c
> Log Message:
> Fix erase to end of line with windows, windows terminal does not support
> control codes.
>
>
> Index: getch2-win.c
> ===================================================================
> RCS file: /cvsroot/mplayer/main/osdep/getch2-win.c,v
> retrieving revision 1.8
> retrieving revision 1.9
> diff -u -r1.8 -r1.9
> --- getch2-win.c        26 Dec 2005 13:10:13 -0000      1.8
> +++ getch2-win.c        27 Dec 2005 10:42:02 -0000      1.9
> @@ -22,7 +22,7 @@
>
>  int screen_width=80;
>  int screen_height=24;
> -char * erase_to_end_of_line = "\033[J";
> +char * erase_to_end_of_line = "                                                                               \r";

That's ugly crap!!!




More information about the MPlayer-cvslog mailing list