mirror of
https://github.com/janet-lang/janet
synced 2025-05-04 00:14:14 +00:00
Change Alt-f in the REPL move to next end of word instead of beginning
This commit is contained in:
parent
e3f4142d2a
commit
83204dc293
@ -502,10 +502,10 @@ static void kright(void) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void krightw(void) {
|
static void krightw(void) {
|
||||||
while (gbl_pos != gbl_len && !isspace(gbl_buf[gbl_pos])) {
|
while (gbl_pos != gbl_len && isspace(gbl_buf[gbl_pos])) {
|
||||||
gbl_pos++;
|
gbl_pos++;
|
||||||
}
|
}
|
||||||
while (gbl_pos != gbl_len && isspace(gbl_buf[gbl_pos])) {
|
while (gbl_pos != gbl_len && !isspace(gbl_buf[gbl_pos])) {
|
||||||
gbl_pos++;
|
gbl_pos++;
|
||||||
}
|
}
|
||||||
refresh();
|
refresh();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user