Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: keep region active when widget fails



Does anyone know why we set region_active to false in handlefeep()? I
would guess that there are perhaps cases where we want this but things
like cursor left when you're already in the first position shouldn't
unset region_active. Any objections to the following patch? We can
always add the assignment to individual widgets if we find cases where
it is desirable.

Oliver

diff --git a/Src/Zle/zle_utils.c b/Src/Zle/zle_utils.c
index e95a34b..03a2bdc 100644
--- a/Src/Zle/zle_utils.c
+++ b/Src/Zle/zle_utils.c
@@ -1365,7 +1365,6 @@ int
 handlefeep(UNUSED(char **args))
 {
     zbeep();
-    region_active = 0;
     return 0;
 }
 



Messages sorted by: Reverse Date, Date, Thread, Author