aboutsummaryrefslogtreecommitdiff
path: root/driver-csi.c
diff options
context:
space:
mode:
authorPaul LeoNerd Evans <leonerd@leonerd.org.uk>2012-04-24 15:58:37 +0100
committerPaul LeoNerd Evans <leonerd@leonerd.org.uk>2012-04-24 15:58:37 +0100
commita6aa8c433be95d424346dfa99dbf68e54cbf349a (patch)
tree89ccd4f28d0e0a65776bc9544f4b94eef2ec39ae /driver-csi.c
parentf33513282a2fb5e55101ef1e0c8d4387d351e42d (diff)
downloadtermo-a6aa8c433be95d424346dfa99dbf68e54cbf349a.tar.gz
termo-a6aa8c433be95d424346dfa99dbf68e54cbf349a.tar.xz
termo-a6aa8c433be95d424346dfa99dbf68e54cbf349a.zip
Always load the CSI driver because it contains cross-terminal mouse and CSI u handling
Diffstat (limited to 'driver-csi.c')
-rw-r--r--driver-csi.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/driver-csi.c b/driver-csi.c
index 25932a2..f9a8d6d 100644
--- a/driver-csi.c
+++ b/driver-csi.c
@@ -140,23 +140,6 @@ static int register_keys(void)
static void *new_driver(TermKey *tk, const char *term)
{
- if(strncmp(term, "xterm", 5) == 0) {
- // We want "xterm" or "xtermc" or "xterm-..."
- if(term[5] != 0 && term[5] != '-' && term[5] != 'c')
- return NULL;
- }
- else if(strcmp(term, "screen") == 0) {
- /* Also apply for screen, because it might be transporting xterm-like
- * sequences. Yes, this sucks. We shouldn't need to rely on this behaviour
- * but there's no other way to know, and if we don't then we won't
- * recognise its sequences.
- */
- }
- else
- return NULL;
-
- // Excellent - we'll continue
-
if(!keyinfo_initialised)
if(!register_keys())
return NULL;