[fs_cli] Fix typo, resolves garbled screen

Related to FS-11309.

Commit bc3e1c9e7d introduced a typo that
results in EL_REFRESH never being used, even if available. This can
cause the screen to garble.

This fixes the typo.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
This commit is contained in:
Sebastian Kemper 2019-10-09 19:05:37 +02:00
parent 6f8d65c348
commit 8919d581fe
1 changed files with 1 additions and 1 deletions

View File

@ -674,7 +674,7 @@ static void redisplay(void)
esl_mutex_lock(MUTEX);
{
#ifdef HAVE_LIBEDIT
#ifdef XHAVE_DECL_EL_REFRESH
#ifdef HAVE_DECL_EL_REFRESH
#ifdef HAVE_EL_WSET
/* Current libedit versions don't implement EL_REFRESH in eln.c so
* use the wide version instead. */