]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/minicurses.py
[test/download] Fallback test to `bv`
[yt-dlp.git] / yt_dlp / minicurses.py
index 38fdb5bc6e0fbea2d56853f79bbfdbd76cd80dc9..699b1158abdfb6cd6c6bbaaa19cc02adf5c86339 100644 (file)
 
 
 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()