summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authorKacper Michajłow <kasper93@gmail.com>2024-03-15 09:52:04 +0100
committerKacper Michajłow <kasper93@gmail.com>2024-03-21 01:47:15 +0100
commit17a0756ed3536a9b8aa60adaa92859a0dba060ad (patch)
tree1add30b32a8142676c02f60bac3e16606c0cb8fc /stream
parent188155457dc95b02d09265175b82acc484a4cd40 (diff)
downloadmpv-17a0756ed3536a9b8aa60adaa92859a0dba060ad.tar.bz2
mpv-17a0756ed3536a9b8aa60adaa92859a0dba060ad.tar.xz
msg: simplify the line_skip calculation
Make it more straightforward by always calculating top offset first instead of having two branches, that tries to calc it directly. This also fixes missing negative check before `\033[%dA` which was in practice only problem on macOS which was handling negative values, while in fact it shouldn't. Fixes: #13484
Diffstat (limited to 'stream')
0 files changed, 0 insertions, 0 deletions