Add support for Alacritty terminal on Linux
This commit is contained in:
parent
58f3ec614f
commit
bada3cb304
|
@ -463,6 +463,8 @@ int32_t is_current_window_terminal() {
|
||||||
return 1;
|
return 1;
|
||||||
}else if (strstr(class_buffer, "St") != NULL) { // Simple terminal
|
}else if (strstr(class_buffer, "St") != NULL) { // Simple terminal
|
||||||
return 1;
|
return 1;
|
||||||
|
}else if (strstr(class_buffer, "Alacritty") != NULL) { // Alacritty terminal
|
||||||
|
return 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user