diff options
author | nanahi <130121847+na-na-hi@users.noreply.github.com> | 2024-03-08 02:20:56 -0500 |
---|---|---|
committer | Kacper Michajłow <kasper93@gmail.com> | 2024-03-19 08:58:18 +0100 |
commit | 98ab8d87a1db803c503d95ca7cff0d988eee4d04 (patch) | |
tree | 34af4d167550b9679aa702eb1b3c59901f13ede3 | |
parent | 302ccf18ef7b71a4e02bb57e42bb884d89b2bdcf (diff) | |
download | mpv-98ab8d87a1db803c503d95ca7cff0d988eee4d04.tar.bz2 mpv-98ab8d87a1db803c503d95ca7cff0d988eee4d04.tar.xz |
common/msg: fix warning: use of non-standard escape character '\e'
-rw-r--r-- | common/msg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/msg.c b/common/msg.c index 08b41ead48..1b9a6ba982 100644 --- a/common/msg.c +++ b/common/msg.c @@ -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); } } |