李通洲
146981009b
CommandLine: add --gen-config-full
2025-08-11 14:49:22 +08:00
李通洲
75d2c668d0
Modules: refactor module option handling for static allocation
...
Moves module option structs out of global config and removes dynamic allocation, using static buffers and size assertions for safer, simpler management.
Refactors module initialization and destruction to work with isolated option structs, eliminating the need for the previous modules container and related code.
Unifies module option header usage and updates detection logic to leverage statically-sized option buffers, improving encapsulation and maintainability.
Simplifies module function signatures and reduces coupling between modules and config.
Enhances future extensibility and reliability by enforcing max size constraints and removing unnecessary indirections.
2025-08-04 14:46:01 +08:00
李通洲
094d736d38
Modules: remove all parseCommandOptions and related stuff
2025-08-03 10:22:32 +08:00
李通洲
9a54d92e9f
Stat: use ESC 7/8 instead of CSI s/u
...
Fix Apple Terminal compatibility #1755
2025-05-16 10:33:58 +08:00
李通洲
2281caaff8
Fastfetch: fix bug that stat info is unexpectly printed
2024-08-13 15:28:17 +08:00
李通洲
f6e1e5c96b
Fastfetch: support --stat <num>
2024-08-13 08:41:32 +08:00
Carter Li
0b85fc74eb
Fastfetch: increase precision of --stat
2024-08-13 08:41:32 +08:00
李通洲
789f1e34ef
Fastfetch: don't mess output with --stat in --pipe mode
2024-07-08 15:05:42 +08:00
李通洲
19b8849bfc
Fastfetch: remove the long deprecated flag --set & `-set-keyless
2024-05-08 11:06:03 +08:00
apocelipes
b9faf8d77f
fastfetch: fix #868 ( #871 )
...
Fix #868 .
2024-05-05 07:10:51 +08:00
李通洲
7acdaebee4
Printing: merge ffPrintError and ffPrintErrorString
2024-03-07 11:10:18 +08:00
李通洲
b9dbb66bd7
fastfetch: revert changes of FASTFETCH_DATATEXT_STRUCTURE
...
Also add comments
2024-03-04 13:47:17 +08:00
李通洲
5d8aa11d81
Fastfetch: small performace optimization
2024-03-04 08:50:38 +08:00
李通洲
f45654620f
Global: code refactor
2023-10-26 15:39:28 +08:00
李通洲
72d138f8c4
Migration (Modules): only generate objects when necessary
2023-10-26 14:28:47 +08:00
李通洲
6a0df7ae49
Migration: simplify json result
2023-10-26 14:06:47 +08:00
李通洲
399e2235d4
Options (Display): split code
2023-10-26 10:26:15 +08:00
李通洲
3c5b002414
Options (Modules): split code
2023-10-25 15:38:46 +08:00
李通洲
bed1b4cf0f
Global: move general options to a new separate folder
2023-10-25 13:39:13 +08:00
李通洲
ec87790e4f
Global: init support for JSON config file migration (WIP)
2023-10-23 16:17:07 +08:00
李通洲
824ada49b6
Global: :%s/generateJson/generateJsonResult/g
2023-10-23 13:32:39 +08:00
李通洲
0b0e286b9c
DiskIO: support --diskio-name-prefix
2023-10-08 16:30:09 +08:00
李通洲
154657b455
NetUsage: rename to NetIO
2023-09-27 00:06:11 +08:00
李通洲
b29b78b321
NetUsage: finish module
2023-09-26 23:00:31 +08:00
李通洲
24a6efa227
NetUsage: finish first working version
2023-09-26 19:54:19 +08:00
李通洲
f97cddf2da
JSON: support --stat for flag based configurations
2023-09-14 15:53:44 +08:00
李通洲
14f26879de
Global: init --format json support ( #527 )
2023-09-05 15:29:46 +08:00
李通洲
970863e7df
Global: simplify code of module matching
2023-08-20 21:35:38 +08:00
李通洲
e5e4c8bf88
Fastfetch: refactor command line option parsing code
...
1. improve performance
2. remove `-c`
3. rename `--recache` to `--logo-recache`, and remove `-r`
2023-08-17 16:10:05 +08:00