Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
cs24-19fa
git_rec_nano
Commits
e471e2d4
Commit
e471e2d4
authored
8 years ago
by
Benno Schulenberg
Browse files
Options
Download
Email Patches
Plain Diff
tweaks: move the modified editing keys again
parent
fe38b784
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/winio.c
+11
-11
src/winio.c
with
11 additions
and
11 deletions
+11
-11
src/winio.c
View file @
e471e2d4
...
...
@@ -320,17 +320,6 @@ int get_kbinput(WINDOW *win)
kbinput
,
meta_key
?
"TRUE"
:
"FALSE"
);
#endif
#ifndef NANO_TINY
if
(
kbinput
==
controlleft
)
kbinput
=
sc_seq_or
(
do_prev_word_void
,
0
);
else
if
(
kbinput
==
controlright
)
kbinput
=
sc_seq_or
(
do_next_word_void
,
0
);
else
if
(
kbinput
==
controlup
)
kbinput
=
sc_seq_or
(
do_prev_block
,
0
);
else
if
(
kbinput
==
controldown
)
kbinput
=
sc_seq_or
(
do_next_block
,
0
);
#endif
/* If we read from the edit window, blank the statusbar if needed. */
if
(
win
==
edit
)
check_statusblank
();
...
...
@@ -515,6 +504,17 @@ int parse_kbinput(WINDOW *win)
if
(
retval
==
ERR
)
return
ERR
;
#ifndef NANO_TINY
if
(
retval
==
controlleft
)
return
sc_seq_or
(
do_prev_word_void
,
0
);
else
if
(
retval
==
controlright
)
return
sc_seq_or
(
do_next_word_void
,
0
);
else
if
(
retval
==
controlup
)
return
sc_seq_or
(
do_prev_block
,
0
);
else
if
(
retval
==
controldown
)
return
sc_seq_or
(
do_next_block
,
0
);
#endif
switch
(
retval
)
{
#ifdef KEY_SLEFT
/* Slang doesn't support KEY_SLEFT. */
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment