From 7974254e2e411ed5f599b35579df4f0516a27a42 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 6 May 2024 04:57:11 +0200 Subject: Disabling mouse. Signed-off-by: Daniel Baumann --- .../patches/progress-linux/0003-disable-mouse.patch | 19 +++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 20 insertions(+) create mode 100644 debian/patches/progress-linux/0003-disable-mouse.patch (limited to 'debian/patches') diff --git a/debian/patches/progress-linux/0003-disable-mouse.patch b/debian/patches/progress-linux/0003-disable-mouse.patch new file mode 100644 index 0000000..d45d8ad --- /dev/null +++ b/debian/patches/progress-linux/0003-disable-mouse.patch @@ -0,0 +1,19 @@ +Author: Daniel Baumann +Description: Disabling mouse. + +diff -Naurp vim.orig/runtime/defaults.vim vim/runtime/defaults.vim +--- vim.orig/runtime/defaults.vim ++++ vim/runtime/defaults.vim +@@ -75,9 +75,9 @@ inoremap u + + " In many terminal emulators the mouse works just fine. By enabling it you + " can position the cursor, Visually select and scroll with the mouse. +-if has('mouse') +- set mouse=a +-endif ++"if has('mouse') ++" set mouse=a ++"endif + + " Switch syntax highlighting on when the terminal has colors or when using the + " GUI (which always has colors). diff --git a/debian/patches/series b/debian/patches/series index fd1c3c2..5862d3b 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -23,3 +23,4 @@ upstream/patch-8.2.3409-reading-beyond-end-of-line-with-invalid-ut.patch upstream/patch-8.2.3428-using-freed-memory-when-replacing.patch progress-linux/0001-syntax-debchangelog.patch progress-linux/0002-syntax-debsources.patch +progress-linux/0003-disable-mouse.patch -- cgit v1.2.3