Make sure to leave selection intact on jump. - sam - An updated version of the sam text editor.
(HTM) git clone git://vernunftzentrum.de/sam.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit e0389c6b45e06408954dab63136adddab61bcfb3
(DIR) parent cdbbacde6219043d99347b0cc1493da8be916d76
(HTM) Author: Rob King <jking@deadpixi.com>
Date: Sun, 1 May 2016 01:45:06 -0500
Make sure to leave selection intact on jump.
Diffstat:
samterm/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/samterm/main.c b/samterm/main.c
@@ -488,7 +488,7 @@ type(Flayer *l, int res) /* what a bloody mess this is */
int pc = qpeekc();
scrollkey = pc==SCROLLKEY; /* ICK */
upkey = pc == UPKEY;
- movekey = (pc == CHARLEFT || pc == CHARRIGHT || pc == LINEUP || pc == LINEDOWN);
+ movekey = (pc == CHARLEFT || pc == CHARRIGHT || pc == LINEUP || pc == LINEDOWN || pc == COMMANDKEY);
}
if(lock || t->lock){