summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Carbonneaux2014-09-09 11:04:19 -0400
committerQuentin Carbonneaux2014-09-09 11:04:19 -0400
commit257b85904fca63c5bdfe2e3d94e043b7cda5cbea (patch)
treeb0561a32ebaf47475d232dfbf5e12987f6adceda
parentde06a641b64a5e0aadb982b9714607cc5611b231 (diff)
do not empty selection for >
-rw-r--r--exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/exec.c b/exec.c
index 956f813..c223e20 100644
--- a/exec.c
+++ b/exec.c
@@ -488,7 +488,7 @@ run(W *w, EBuf *eb, unsigned p0)
abort();
}
r->eb->refs++;
- if (ctyp != 0)
+ if (ctyp != 0 && ctyp != '>')
if (s0 != s1) {
eb_setmark(w->eb, SelBeg, -1u); /* clear selection */
eb_setmark(w->eb, SelEnd, -1u);