mirror of
https://github.com/dingusdev/dingusppc.git
synced 2026-04-21 09:16:48 +00:00
Quick fix for Alacritty support
Co-Authored-By: lefp <70862148+lefp@users.noreply.github.com>
This commit is contained in:
@@ -25,6 +25,8 @@
|
||||
- roytam1
|
||||
- mrpapersonic
|
||||
- Randrianasulu
|
||||
- lefp
|
||||
- mathstuf
|
||||
|
||||
## Testing
|
||||
|
||||
|
||||
Vendored
+2
-1
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user