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
This commit is contained in:
ods15 2005-12-27 10:42:02 +00:00
parent d583c7420a
commit 8153d3c643
2 changed files with 2 additions and 2 deletions

View File

@ -963,7 +963,7 @@ static void print_status(float a_pos, float a_v, float corr)
// end
line[pos] = 0;
mp_msg(MSGT_AVSYNC, MSGL_STATUS, "%s%s\r", line, erase_to_end_of_line);
mp_msg(MSGT_AVSYNC, MSGL_STATUS, "%s%s\r", erase_to_end_of_line, line);
free(line);
}

View File

@ -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(){
}