mirror of
https://github.com/mpv-player/mpv
synced 2025-01-19 05:41:16 +00:00
common/msg: fix warning: use of non-standard escape character '\e'
This commit is contained in:
parent
302ccf18ef
commit
98ab8d87a1
@ -283,7 +283,7 @@ void mp_msg_set_term_title(struct mp_log *log, const char *title)
|
||||
if (log->root && title) {
|
||||
// Lock because printf to terminal is not necessarily atomic.
|
||||
mp_mutex_lock(&log->root->lock);
|
||||
fprintf(stderr, "\e]0;%s\007", title);
|
||||
fprintf(stderr, "\033]0;%s\007", title);
|
||||
mp_mutex_unlock(&log->root->lock);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user