Add support for Clipboard backend on Termite, XTerm, UXTerm and Konsole on Linux. Fix #90

This commit is contained in:
Federico Terzi 2019-10-19 21:31:26 +02:00
parent b542800c03
commit 498e2e5550

View File

@ -440,6 +440,12 @@ int32_t is_current_window_terminal() {
return 1;
}else if (strstr(class_buffer, "URxvt") != NULL) { // Manjaro terminal
return 1;
}else if (strstr(class_buffer, "XTerm") != NULL) { // XTerm and UXTerm
return 1;
}else if (strstr(class_buffer, "Termite") != NULL) { // Termite
return 1;
}else if (strstr(class_buffer, "konsole") != NULL) { // KDE Konsole
return 1;
}
}