Skip to content

Commit fd8ce46

Browse files
no1wudixiaoxiang781216
authored andcommitted
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>
1 parent fe7b57a commit fd8ce46

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

system/cle/cle.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1055,7 +1055,6 @@ static int cle_editloop(FAR struct cle_s *priv)
10551055

10561056
priv->curpos = priv->nchars;
10571057
cle_insertch(priv, '\n');
1058-
cle_putch(priv, '\n');
10591058
return OK;
10601059
}
10611060
break;

0 commit comments

Comments
 (0)