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:
parent
fe7b57aa11
commit
fd8ce46060
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user