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
158388c5
Commit
158388c5
authored
8 years ago
by
Benno Schulenberg
Browse files
Options
Download
Email Patches
Plain Diff
justify: enable cursor display also for the first keystroke afterward
This fixes
https://savannah.gnu.org/bugs/?48246
.
parent
3e45c9c5
master
feature/match-parens
refactor/readbility
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/text.c
+5
-5
src/text.c
with
5 additions
and
5 deletions
+5
-5
src/text.c
View file @
158388c5
...
...
@@ -2487,11 +2487,6 @@ void do_justify(bool full_justify)
edit_refresh
();
/* If constant cursor position display is on, make sure the current
* cursor position will be properly displayed on the statusbar. */
if
(
ISSET
(
CONST_UPDATE
))
do_cursorpos
(
TRUE
);
/* Display the shortcut list with UnJustify. */
uncutfunc
->
desc
=
unjust_tag
;
display_main_list
();
...
...
@@ -2509,6 +2504,11 @@ void do_justify(bool full_justify)
}
while
(
kbinput
==
KEY_WINCH
);
#endif
/* If needed, unset the cursor-position suppression flag, so the cursor
* position /will/ be displayed upon a return to the main loop. */
if
(
ISSET
(
CONST_UPDATE
))
do_cursorpos
(
TRUE
);
func
=
func_from_key
(
&
kbinput
);
if
(
func
==
do_uncut_text
...
...
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