Rework stdout buffering on Windows.

Windows doesn't support line-buffering. We enable full-buffering instead and flush buffers per module.
This commit is contained in:
李通洲
2022-12-14 16:27:04 +08:00
parent d151901049
commit e4a5194115
7 changed files with 22 additions and 19 deletions
-6
View File
@@ -40,12 +40,6 @@
# Default is false.
#--stat true
# Disable stdout buffer option:
# Sets if fastfetch should disable application buffer of stdout. Mainly for debugging purpose.
# Must be true or false.
# Default is false.
#--unbuffered false
# Slow operations option:
# Sets if fastfetch is allowed to use known slow operations to detect more / better values.
# Must be true or false.
-1
View File
@@ -20,7 +20,6 @@ General options:
--multithreading <?value>: use multiple threads to detect values
--stat <?value>: print time usage (in ms) for individual modules
--allow-slow-operations <?value>: allow operations that are usually very slow for more detailed output
--unbuffered <?value>: disable stdout application buffer
--escape-bedrock <?value>: on bedrock linux, sets if it should escape the bedrock jail or not
--pipe <?value>: disable logo and all escape sequences