Unified · Split
| @@ -283,7 +283,7 @@ void mp_msg_set_term_title(struct mp_log *log, const char *title) · 282 unmodified lines | |||
| 283 | if (log->root && title) { | 283 | if (log->root && title) { |
| 284 | // Lock because printf to terminal is not necessarily atomic. | 284 | // Lock because printf to terminal is not necessarily atomic. |
| 285 | mp_mutex_lock(&log->root->lock); | 285 | mp_mutex_lock(&log->root->lock); |
| 286 | fprintf(stderr, "\e]0;%s\007", title); | 286 | fprintf(stderr, "\033]0;%s\007", title); |
| 287 | mp_mutex_unlock(&log->root->lock); | 287 | mp_mutex_unlock(&log->root->lock); |
| 288 | } | 288 | } |
| 289 | } | 289 | } |