mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-17 15:32:21 +08:00
apps/system/cle/cle.c: This commit modifies the cle to use the streams file interface more consistently and has removed the observed race conditions. It was previously a mix of streams and fileio. It also simplifies the VT100 cursor position handling.
This commit is contained in:

committed by
Gregory Nutt

parent
af6719d78d
commit
dbd4e67241
@@ -149,7 +149,7 @@ int nsh_session(FAR struct console_stdio_s *pstate)
|
||||
{
|
||||
fprintf(pstate->cn_errstream, g_fmtcmdfailed, "nsh_session",
|
||||
"cle", NSH_ERRNO_OF(-ret));
|
||||
return ret == 0 ? EXIT_SUCCESS : EXIT_FAILURE;
|
||||
continue;
|
||||
}
|
||||
#else
|
||||
/* Display the prompt string */
|
||||
|
Reference in New Issue
Block a user