Carter Li
0a807ac1a3
TerminalFont (Linux): fixes default font size for ghostty
...
Fixes #1986
2025-10-01 08:09:04 +08:00
李通洲
de9229697a
TerminalFont: improve ghostty with command ghostty +show-config
...
Ref: #1972
2025-09-20 23:34:07 +08:00
李通洲
e9065e15e8
TerminalFont: Improves Ghostty font config parsing with fallback font detection
...
Fixes #1967
2025-09-18 10:30:28 +08:00
李通洲
f628f5c382
Settings: renames GNOME settings accessor for clarity
2025-09-04 16:17:01 +08:00
李通洲
7d92da8829
Global (Android): enable X11 related stuff
2025-09-01 16:28:13 +08:00
李通洲
61f2823903
Global: fixes -ffast-math compatibility
...
Unifies unset double handling using `-DBL_MAX` sentinel
Fixes #1894
2025-08-14 10:01:34 +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
李通洲
3cef51ec4a
JsonConfig: refactor string buffer JSON handling for robustness
2025-08-02 17:41:19 +08:00
Derek Passen
ddf5099461
TerminalFont: support rio terminal emulator ( #1789 )
...
* Enable terminal font detection for rio terminal emulator
https://rioterm.com
https://rioterm.com/docs/config
https://rioterm.com/docs/config#fonts
* Update src/detection/terminalfont/terminalfont.c
Fix default rio font name
Co-authored-by: Carter Li <CarterLi@users.noreply.github.com >
---------
Co-authored-by: Carter Li <CarterLi@users.noreply.github.com >
2025-06-08 00:00:03 +08:00
李通洲
eec9a26952
TerminalFont (Windows): support Warp Terminal
2025-03-28 15:26:30 +08:00
koraynilay
383a6c8a05
TerminalFont (Linux): support termite terminal ( #1588 )
...
currently developed termite fork: https://github.com/aperezdc/termite
2025-02-26 09:12:53 +08:00
Carter Li
f2a41b82bc
TerminalFont (Haiku): support Haiku Terminal
2025-02-12 22:48:24 +00:00
李通洲
8c227ae4b8
TerminalFont (macOS): fix Ghostty termfont detection
...
`~/Library/Application Support/com.mitchellh.ghostty/config` is generated as an empty file if the settings dialog is opened
Fix #1495
2025-01-10 09:41:19 +08:00
Carter Li
2ab2dd4d48
TerminalFont (macOS): fix ghostty font detection; default to JetBrains Mono
...
Ref: https://github.com/fastfetch-cli/fastfetch/issues/1466#issuecomment-2564379883
2024-12-30 10:43:28 +08:00
Carter Li
813b80c5a8
TerminalFont: support Ghostty
...
Fix #1466
2024-12-28 15:34:41 +08:00
Carter Li
ab200d7e4a
Terminal: Support sakura version & font detection
...
Fix #1424
2024-12-02 19:10:47 +08:00
Carter Li
864fb918bc
Chore: silence some warnings
2024-11-22 14:20:50 +08:00
李通洲
7c8250c68c
StringUtil: rename ffStrCopy and correctly reflect its usage
2024-11-11 18:02:23 +08:00
李通洲
b257134d74
Chore: introduce macro ARRAY_SIZE
2024-10-18 16:44:41 +08:00
李通洲
48bb5b8746
Chore: use ffStrCopyN instead of strlcpy
2024-10-17 22:29:38 +08:00
李通洲
9ea887e841
TerminalFont: fix possible buffer overflow
2024-10-06 09:27:55 +08:00
李通洲
03565384e6
Chore (macOS): use simplified syntax
2024-09-27 09:16:54 +08:00
李通洲
29ae56e76a
TerminalFont: fix hanging when font name is long (kitty)
2024-09-24 10:42:43 +08:00
Carter Li
db669c00a1
TerminalFont (Linux): fix font size detection of foot when fall back font is used
...
Fix #1276
2024-09-20 15:33:04 +08:00
李通洲
174dde131c
TerminalFont: silence CodeQL warnings
2024-09-11 13:28:21 +08:00
李通洲
a052033dc6
IO: allow issuing multiple terminal queries in one call
2024-09-10 15:18:12 +08:00
李通洲
c9d539090d
Global: remove --lib-xxx support
2024-09-04 15:56:11 +08:00
李通洲
df729938c5
Binary: improve performance
2024-08-27 16:41:23 +08:00
李通洲
dd2d343630
Global: fix build on Windows
2024-08-20 23:52:29 +08:00
李通洲
65b9f0005b
TerminalFont (Linux): when detecting st, report an error if fails to load libelf
2024-08-09 10:11:38 +08:00
Carter Li
e8ebae7ee9
TerminalFont (Linux): improve performance of st terminal font detection
2024-08-08 15:09:37 +08:00
李通洲
165b0b0a69
TerminalFont (Linux): remove Windows Terminal support for WSL
...
Fix #1113
2024-07-24 09:33:17 +08:00
李通洲
dc216362d5
TerminalFont (Linux): detect system mono font
2024-07-24 09:21:16 +08:00
李通洲
7f2ab7310a
Terminal: fix possible buffer overflow
2024-07-22 09:22:01 +08:00
李通洲
0776dac95b
TerminalFont: improve wezterm detection
2024-07-16 15:06:25 +08:00
李通洲
4db6aebcc9
TerminalFont (Linux): support Ptyxis
2024-07-01 23:56:53 +08:00
Carter Li
0c1462898b
TerminalShell / TerminalFont: fix CodeQL warnings
2024-06-28 10:50:37 +08:00
李通洲
0606cde061
TerminalFont (Linux): fix XTGETTCAP response is printed in console when query kitty term font
2024-06-25 16:10:54 +08:00
李通洲
b500e9c09b
Terminal: add fast path of version and font detection for kitty
...
Ref: https://github.com/fastfetch-cli/fastfetch/discussions/1030#discussioncomment-9845233
2024-06-22 15:43:25 +08:00
李通洲
b308ded1e1
Global (Linux): silence some compiler warnings
2024-06-05 16:11:52 +08:00
Carter Li
8f457f047c
TerminalFont (Linux): searching for font config in st binary
2024-05-08 09:54:33 +08:00
李通洲
bcbca38b1e
Terminal: tidy
2024-04-10 10:11:31 +08:00
李通洲
12ca1a0cf7
TerminalFont (Windows): better portable mode detection of Windows Terminal
...
`.portable` can be a folder.
Fix #784
2024-04-08 22:29:24 +08:00
Carter Li
dd2cc116bd
TerminalFont (Linux): support weston-terminal
2024-04-06 16:56:17 +08:00
李通洲
8b7a4daeda
TerminalFont: use system mono font if no config file is find
2024-04-04 11:09:28 +08:00
李通洲
153df44282
TerminalFont (Linux): support warp terminal
2024-02-27 23:40:42 +08:00
李通洲
925dc6f681
TerminalFont (Windows): support portable Windows Terminal settings
...
Fix #720
2024-02-13 19:49:49 +08:00
李通洲
a9a5790cba
TerminalShell (Linux): improve terminal detection by env
2024-01-22 11:10:40 +08:00
李通洲
b3945e277c
Global: review code
2024-01-17 15:06:52 +08:00
李通洲
905ed76ddd
TerminalShell: split terminal and shell detection code further
2024-01-12 20:58:45 +08:00