Fix bug: alt+h command input line not updated

The fix is obtained from the upstream:
https://www.midnight-commander.org/ticket/2810

PR:		171157
This commit is contained in:
Max Khon 2012-08-29 13:46:28 +00:00
parent 1899c3dce3
commit 0dea6ea6dd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=303340
2 changed files with 11 additions and 0 deletions

View file

@ -7,6 +7,7 @@
PORTNAME= mc PORTNAME= mc
PORTVERSION= 4.8.1.4 PORTVERSION= 4.8.1.4
PORTREVISION= 1
CATEGORIES= misc shells CATEGORIES= misc shells
MASTER_SITES= http://www.midnight-commander.org/downloads/ \ MASTER_SITES= http://www.midnight-commander.org/downloads/ \
${MASTER_SITE_SUNSITE} ${MASTER_SITE_SUNSITE}

View file

@ -0,0 +1,10 @@
--- lib/widget/input.c.orig 2012-08-29 20:27:24.000000000 +0700
+++ lib/widget/input.c 2012-08-29 20:27:53.000000000 +0700
@@ -1179,6 +1179,7 @@
in->mark = 0;
in->need_push = TRUE;
in->charpoint = 0;
+ input_update (in, TRUE);
}
/* --------------------------------------------------------------------------------------------- */