Quick fix for Alacritty support

Co-Authored-By: lefp <70862148+lefp@users.noreply.github.com>
This commit is contained in:
dingusdev
2025-04-21 18:28:03 -07:00
parent 4d0904667c
commit 534d092bd5
2 changed files with 4 additions and 1 deletions
+2
View File
@@ -25,6 +25,8 @@
- roytam1
- mrpapersonic
- Randrianasulu
- lefp
- mathstuf
## Testing
+2 -1
View File
@@ -229,7 +229,8 @@ namespace loguru
return false;
}
if (const char* term = getenv("TERM")) {
return 0 == strcmp(term, "cygwin")
return 0 == strcmp(term, "alacritty")
|| 0 == strcmp(term, "cygwin")
|| 0 == strcmp(term, "linux")
|| 0 == strcmp(term, "rxvt-unicode-256color")
|| 0 == strcmp(term, "screen")