Ticket #2810 (closed defect: fixed)
[PATCH] alt+h command input line not updated
Reported by: | gvy | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 4.8.4 |
Component: | mc-core | Version: | master |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Branch state: | no branch | Votes for changeset: |
Description
This bugreport/patch is by arisu from opennet; my translation:
After selecting a command from command history (alt+h) the input line is not updated (the cursor moves but the command doesn't get redrawn).
--- original bits ---
- после выбора команды из истории (alt+h) не обновляется строка воода
команды (курсор смещается, команда не отрисовывается). патч:
diff --git a/lib/widget/input.c b/lib/widget/input.c index 238718d..a6ea184 100644 --- a/lib/widget/input.c +++ b/lib/widget/input.c @@ -1188,6 +1188,7 @@ input_assign_text (WInput * in, const char *text) in->mark = 0; in->need_push = TRUE; in->charpoint = 0; + input_update (in, TRUE); /* "Есть еще такая болезнь -- склероз, -- сообщил он" */ } /* --------------------------------------------------------------------------------------------- */
Change History
comment:2 Changed 12 years ago by andrew_b
- Blocked By 2313 removed
(In #2313) Merged to master: [d7a1af740ed28cf68a8f2148cc093cf39035a298].
git log --pretty=oneline 5583df3..d7a1af7
Note: See
TracTickets for help on using
tickets.
Already fixed in #2313.