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
2503503a
Commit
2503503a
authored
8 years ago
by
Benno Schulenberg
Browse files
Options
Download
Email Patches
Plain Diff
tweaks: make the conditions for statusbar blanking more transparent
parent
2cd21da4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/winio.c
+15
-10
src/winio.c
with
15 additions
and
10 deletions
+15
-10
src/winio.c
View file @
2503503a
...
...
@@ -1697,18 +1697,23 @@ void blank_bottombars(void)
/* Check if the number of keystrokes needed to blank the statusbar has
* been pressed. If so, blank the statusbar, unless constant cursor
* position display is on. */
* position display is on
and we are in the editing screen
. */
void
check_statusblank
(
void
)
{
if
(
statusblank
>
0
)
{
statusblank
--
;
if
(
statusblank
==
0
&&
(
currmenu
!=
MMAIN
||
!
ISSET
(
CONST_UPDATE
)))
{
blank_statusbar
();
wnoutrefresh
(
bottomwin
);
reset_cursor
();
wnoutrefresh
(
edit
);
}
if
(
statusblank
==
0
)
return
;
statusblank
--
;
/* When editing and 'constantshow' is active, skip the blanking. */
if
(
currmenu
==
MMAIN
&&
ISSET
(
CONST_UPDATE
))
return
;
if
(
statusblank
==
0
)
{
blank_statusbar
();
wnoutrefresh
(
bottomwin
);
reset_cursor
();
wnoutrefresh
(
edit
);
}
}
...
...
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