From 90a7cdb74405615305f65161ebcf6a20a93d1820 Mon Sep 17 00:00:00 2001 From: WanderingPenwing Date: Wed, 31 Jul 2024 10:59:22 +0200 Subject: [PATCH] fixed delete key behavior --- config.h | 4 ++-- x.o | Bin 76856 -> 76856 bytes 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config.h b/config.h index 9330112..73616d2 100644 --- a/config.h +++ b/config.h @@ -93,7 +93,7 @@ char *termname = "st-256color"; */ unsigned int tabspaces = 8; -float alpha = 0.8; +float alpha = 0.9; /* Terminal colors (16 first used in escape sequence) */ static const char *colorname[] = { @@ -345,7 +345,7 @@ static Key key[] = { { XK_Delete, ControlMask, "\033[3;5~", +1, 0}, { XK_Delete, ShiftMask, "\033[2K", -1, 0}, { XK_Delete, ShiftMask, "\033[3;2~", +1, 0}, - { XK_Delete, XK_ANY_MOD, "\033[P", -1, 0}, + { XK_Delete, XK_ANY_MOD, "\033[3~", -1, 0}, { XK_Delete, XK_ANY_MOD, "\033[3~", +1, 0}, { XK_BackSpace, XK_NO_MOD, "\177", 0, 0}, { XK_BackSpace, Mod1Mask, "\033\177", 0, 0}, diff --git a/x.o b/x.o index cc6a1da9c88daeca12ab43204f01bda5bad70b24..b8a09f075a08104c944f89714bad8b65472bdda0 100644 GIT binary patch delta 38 ucmdmSgJs7JmJL%}IMdS7>^T@17#Jrz`hDL##Wm&ZbOB*Tj%~t>7LouREDY!X delta 36 ucmV+<0Nek#*aW!P1hAAu3C+w*KL`K-00EOhPWQ8vMP$tZy|?)i0Y4cWr4E(=