Add support for Alacritty terminal on Linux

This commit is contained in:
Federico Terzi 2019-11-12 23:18:09 +01:00
parent 58f3ec614f
commit bada3cb304

View File

@ -463,6 +463,8 @@ int32_t is_current_window_terminal() {
return 1;
}else if (strstr(class_buffer, "St") != NULL) { // Simple terminal
return 1;
}else if (strstr(class_buffer, "Alacritty") != NULL) { // Alacritty terminal
return 1;
}
}