summaryrefslogtreecommitdiffstats
path: root/osdep/getch2-win.c
diff options
context:
space:
mode:
authorods15 <ods15@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-12-27 10:42:02 +0000
committerods15 <ods15@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-12-27 10:42:02 +0000
commit8153d3c643fd8914ba788f78271e59dc03c94a75 (patch)
treefd023f2a7672f6bbe09f43ac4b91aed312089520 /osdep/getch2-win.c
parentd583c7420af4a647b162c05bf84783a45f04a687 (diff)
downloadmpv-8153d3c643fd8914ba788f78271e59dc03c94a75.tar.bz2
mpv-8153d3c643fd8914ba788f78271e59dc03c94a75.tar.xz
Fix erase to end of line with windows, windows terminal does not support
control codes. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17252 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'osdep/getch2-win.c')
-rw-r--r--osdep/getch2-win.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/osdep/getch2-win.c b/osdep/getch2-win.c
index 7998615c78..e6fb95ca91 100644
--- a/osdep/getch2-win.c
+++ b/osdep/getch2-win.c
@@ -22,7 +22,7 @@ int mp_input_win32_slave_cmd_func(int fd,char* dest,int size){
int screen_width=80;
int screen_height=24;
-char * erase_to_end_of_line = "\033[J";
+char * erase_to_end_of_line = " \r";
void get_screen_size(){
}