system/cle: Don't echo extra '\n'

Before:
```
NuttShell (NSH) NuttX-12.0.0
nsh> free
/* Extra line here */
                   total       used       free    largest  nused  nfree
        Umem:   33154512      33584   33120928   33120928     96      1
```

After:
```
NuttShell (NSH) NuttX-12.0.0
nsh> free
                   total       used       free    largest  nused  nfree
        Umem:   33154512      33584   33120928   33120928     96      1
```

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
This commit is contained in:
Huang Qi 2023-03-04 09:32:02 +08:00 committed by Xiang Xiao
parent fe7b57aa11
commit fd8ce46060

View File

@ -1055,7 +1055,6 @@ static int cle_editloop(FAR struct cle_s *priv)
priv->curpos = priv->nchars;
cle_insertch(priv, '\n');
cle_putch(priv, '\n');
return OK;
}
break;