Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
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
ac41587d
Commit
ac41587d
authored
8 years ago
by
Benno Schulenberg
Browse files
Options
Download
Email Patches
Plain Diff
oops: the yesno prompt for replacing does not want a visible cursor
parent
e4b8d6fa
master
feature/match-parens
refactor/readbility
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/prompt.c
+0
-3
src/prompt.c
src/winio.c
+3
-0
src/winio.c
with
3 additions
and
3 deletions
+3
-3
src/prompt.c
View file @
ac41587d
...
...
@@ -794,9 +794,6 @@ int do_yesno_prompt(bool all, const char *msg)
wnoutrefresh
(
edit
);
wnoutrefresh
(
bottomwin
);
/* Ensure that the cursor is visible when waiting for input. */
curs_set
(
1
);
currmenu
=
MYESNO
;
kbinput
=
get_kbinput
(
bottomwin
);
...
...
This diff is collapsed.
Click to expand it.
src/winio.c
View file @
ac41587d
...
...
@@ -2079,6 +2079,9 @@ void warn_and_shortly_pause(const char *msg)
statusbar
(
msg
);
beep
();
napms
(
1800
);
/* Switch the cursor back on after displaying the message. */
curs_set
(
1
);
}
/* Display a message on the statusbar, and set suppress_cursorpos to
...
...
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
Menu
Projects
Groups
Snippets
Help