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
2b438e6e
Commit
2b438e6e
authored
7 years ago
by
Benno Schulenberg
Browse files
Options
Download
Email Patches
Plain Diff
input: make the macro key discoverable by giving feedback when undefined
parent
8165b20f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/winio.c
+3
-1
src/winio.c
with
3 additions
and
1 deletion
+3
-1
src/winio.c
View file @
2b438e6e
...
...
@@ -101,8 +101,10 @@ void run_macro(void)
return
;
}
if
(
macro_length
==
0
)
if
(
macro_length
==
0
)
{
statusline
(
HUSH
,
_
(
"Macro is empty"
));
return
;
}
free
(
key_buffer
);
key_buffer
=
(
int
*
)
nmalloc
(
macro_length
*
sizeof
(
int
));
...
...
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