aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/minicurses.py
diff options
context:
space:
mode:
Diffstat (limited to 'yt_dlp/minicurses.py')
-rw-r--r--yt_dlp/minicurses.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/yt_dlp/minicurses.py b/yt_dlp/minicurses.py
index 38fdb5bc6..699b1158a 100644
--- a/yt_dlp/minicurses.py
+++ b/yt_dlp/minicurses.py
@@ -31,6 +31,11 @@ _TEXT_STYLES = {
def format_text(text, f):
+ '''
+ @param f String representation of formatting to apply in the form:
+ [style] [light] font_color [on [light] bg_color]
+ Eg: "red", "bold green on light blue"
+ '''
f = f.upper()
tokens = f.strip().split()