summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-01-21 11:49:37 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-01-21 11:49:37 -0600
commitad896536097c687b2933a9c0417f9b49ec9930c4 (patch)
treebb2ce2460e9c39e2dbe1f558e56375ed99090122 /apps
parentdd00b42c6c579902cf128e3727757944c1251870 (diff)
downloadnuttx-ad896536097c687b2933a9c0417f9b49ec9930c4.tar.gz
nuttx-ad896536097c687b2933a9c0417f9b49ec9930c4.tar.bz2
nuttx-ad896536097c687b2933a9c0417f9b49ec9930c4.zip
VI: Fix loss of status line on display update
Diffstat (limited to 'apps')
-rw-r--r--apps/system/vi/vi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/system/vi/vi.c b/apps/system/vi/vi.c
index 632822cca..150d4ef01 100644
--- a/apps/system/vi/vi.c
+++ b/apps/system/vi/vi.c
@@ -1210,7 +1210,7 @@ static void vi_setmode(FAR struct vi_s *vi, uint8_t mode, long value)
vi->mode = mode;
vi->delarm = false;
vi->yankarm = false;
- vi->error = false;
+//vi->error = false; need to preserve until vi_showtext is called
vi->value = value;
vi->cmdlen = 0;
}