top: keep cursor hidden after Inspect 'Locate' request

A recent commit, that was intended to normalize cursor
handling, unintentionally exposed the cursor following
an Inspect 'Locate' request. This change will hide the
cursor once again through inst_view_choice's lifetime.

(everything is perfectly justified plus right margins)
(are completely filled, but of course it must be luck)

Reference(s):
commit f3a87cf634

Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
Jim Warner 2013-02-07 00:00:00 -06:00 committed by Craig Small
parent e2c2bc5a95
commit bc5af4ae51

View File

@ -2756,6 +2756,7 @@ static inline void insp_show_pgs (int col, int row, int max) {
insp_make_row(col, row);
--max;
}
if (max)
putp(Cap_nl_clreos);
} // end: insp_show_pgs
@ -2848,6 +2849,7 @@ signify_that:
case '/':
case 'n':
insp_find_str(key, &curcol, &curlin);
putp((Cursor_state = Cap_curs_hide));
break;
case '=':
snprintf(buf, sizeof(buf), "%s: %s", Insp_sel->type, Insp_sel->fmts);