From 971d01ce8153e0634d1480e3c6036d1aac3fba3b Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Tue, 21 Jan 2014 11:49:37 -0600 Subject: [PATCH] VI: Fix loss of status line on display update --- system/vi/vi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/vi/vi.c b/system/vi/vi.c index 632822cca..150d4ef01 100644 --- a/system/vi/vi.c +++ b/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; }