|
@@ -269,8 +269,8 @@ static shellmatta_retCode_t logoutCmdFct(const shellmatta_handle_t handle, const
|
|
inst->userId = 0u;
|
|
inst->userId = 0u;
|
|
inst->userPointer = NULL;
|
|
inst->userPointer = NULL;
|
|
|
|
|
|
- /** reset history buffer */
|
|
|
|
- history_reset(inst);
|
|
|
|
|
|
+ /** reset shell and with it the history buffer */
|
|
|
|
+ (void)shellmatta_resetShell(handle, false);
|
|
|
|
|
|
shellmatta_write(handle, "good bye\r\n", 10);
|
|
shellmatta_write(handle, "good bye\r\n", 10);
|
|
|
|
|