]> jfr.im git - yt-dlp.git/commit - yt_dlp/utils/_utils.py
[utils] render_table: Fix character calculation for removing extra gap
authorLesmiscore <redacted>
Sun, 6 Mar 2022 08:11:10 +0000 (17:11 +0900)
committerLesmiscore <redacted>
Sun, 6 Mar 2022 08:11:10 +0000 (17:11 +0900)
commit1ed7953a7405a8613b4a6d9ada1f91c04edb83c0
tree70de242f1c1d378a2098e46abc35e269ab157bea
parentd49669acad71f640ffd8b78f0ea7911ae1f67720
[utils] render_table: Fix character calculation for removing extra gap

without this fix, the column next to delimiter will lack leading spaces on terminal (see https://github.com/yt-dlp/yt-dlp/pull/920#issuecomment-1059914615 for the situation)
yt_dlp/utils.py