VI: Fix loss of status line on display update

This commit is contained in:
Gregory Nutt 2014-01-21 11:49:37 -06:00
parent c21071dfd3
commit 971d01ce81

View File

@ -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;
}