summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-02-09 00:45:26 +0100
committerwm4 <wm4@nowhere>2014-02-09 00:45:26 +0100
commit7f744c9a16f4cc9b56ba7f0089daf7440fdc9848 (patch)
treed429fdcfbdd5938a715be9db32b67da2bd22165c /video
parent8eaf6c42ac9df1a3e5ef7385887b708d7cfbac28 (diff)
downloadmpv-7f744c9a16f4cc9b56ba7f0089daf7440fdc9848.tar.bz2
mpv-7f744c9a16f4cc9b56ba7f0089daf7440fdc9848.tar.xz
msg: clear lines by printing spaces on MS Windows
On Windows, no ANSI control sequences are available, so we can't easily clear lines, move the cursor, etc. It's yet to be decided how this should be handled (emulate ANSI escapes in osdep/terminal-win.c, or provide abstracted terminal API functions to unify the Linux and Windows code). For now, this fixes the regression that was introduced earlier by the status line rewrite. It doesn't fix all aspects of status line and terminal OSD handling, as can be clearly seen by the unconditional use of terminal_erase_to_end_of_line further down the changed code. Fixes github issue #499 (sort of).
Diffstat (limited to 'video')
0 files changed, 0 insertions, 0 deletions