From ad896536097c687b2933a9c0417f9b49ec9930c4 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Tue, 21 Jan 2014 11:49:37 -0600 Subject: VI: Fix loss of status line on display update --- apps/system/vi/vi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps') 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; } -- cgit v1.2.3