aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2023-04-10 14:09:16 +1200
committerTom Ryder <tom@sanctum.geek.nz>2023-04-10 14:13:04 +1200
commitce2fa93638e73aef15d7005622af3d57f1f0f52f (patch)
tree0c759d2e0d52f3df21c94a4c474d4fb856e5bf96
parentUse consistent title for xterm windows (diff)
downloaddotfiles-ce2fa93638e73aef15d7005622af3d57f1f0f52f.tar.gz
dotfiles-ce2fa93638e73aef15d7005622af3d57f1f0f52f.zip
Block mouse operations in terminal applications
-rw-r--r--x/Xresources7
1 files changed, 7 insertions, 0 deletions
diff --git a/x/Xresources b/x/Xresources
index 57112cbd..43957359 100644
--- a/x/Xresources
+++ b/x/Xresources
@@ -8,6 +8,13 @@ XTerm.termName: xterm-256color
XTerm.title: xterm
/**
+ * Don't pass mouse events to applications, even if they ask for it; mouse
+ * interaction with command-line tools isn't normally very well-written anyway.
+ * Better just to treat it as text.
+ */
+XTerm.vt100.allowMouseOps: false
+
+/**
* Don't let applications set the window title; it's usually more confusing
* than helpful, with things like command wrappers getting in the way.
*/