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
934a2192
Commit
934a2192
authored
7 years ago
by
Benno Schulenberg
Browse files
Options
Download
Email Patches
Plain Diff
screen: retain the same help-line tags when the window is resized
This fixes
https://savannah.gnu.org/bugs/?51457
.
parent
5df47bfe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/global.c
+2
-1
src/global.c
with
2 additions
and
1 deletion
+2
-1
src/global.c
View file @
934a2192
...
...
@@ -667,7 +667,7 @@ void shortcut_init(void)
add_to_funcs
(
do_cancel
,
((
MMOST
&
~
MMAIN
&
~
MBROWSER
)
|
MYESNO
),
N_
(
"Cancel"
),
IFSCHELP
(
nano_cancel_msg
),
BLANKAFTER
,
VIEW
);
add_to_funcs
(
do_exit
,
MMAIN
|
MHELP
,
add_to_funcs
(
do_exit
,
MMAIN
,
exit_tag
,
IFSCHELP
(
nano_exit_msg
),
TOGETHER
,
VIEW
);
/* Remember the entry for Exit, to be able to replace it with Close. */
exitfunc
=
tailfunc
;
...
...
@@ -720,6 +720,7 @@ void shortcut_init(void)
#ifdef ENABLE_HELP
/* The description ("x") and blank_after (0) are irrelevant,
* because the help viewer does not have a help text. */
add_to_funcs
(
do_exit
,
MHELP
,
close_tag
,
"x"
,
0
,
VIEW
);
add_to_funcs
(
total_refresh
,
MHELP
,
refresh_tag
,
"x"
,
0
,
VIEW
);
add_to_funcs
(
do_search
,
MHELP
,
whereis_tag
,
"x"
,
0
,
VIEW
);
...
...
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