diff options
author | 2008-08-13 05:54:56 +0300 | |
---|---|---|
committer | 2008-08-13 06:06:29 +0300 | |
commit | e107cf785132418cc658e1cee4ad814e17eac886 (patch) | |
tree | a9aa9d1d440780dc722144431b43648475e300dd /dvdread/dvdread_internal.h | |
parent | e09fe1ce0413609b891f4abf2f5df5f1996622a0 (diff) |
Use correct terminal "clear line" code
The "erase_to_end_of_line" string used to clear the terminal status
line was initialized with the termcap id "cd", which means to clear
all lines below the cursor. Change it to the correct "ce" to clear the
current line.
Usually the status line is on the bottommost line of the terminal so
the behaviour wouldn't differ much. However it did make a difference
when I tested starting MPlayer at the top of a huge gnome-terminal
window so the status line was not at the bottom; in that case clearing
just the current line used less CPU than clearing the part of the huge
window below the status line.
Diffstat (limited to 'dvdread/dvdread_internal.h')
0 files changed, 0 insertions, 0 deletions