#14 Add shellmatta_resetShell to the API

已关闭
shimatta5 年之前创建 · 2 条评论
shimatta 评论于 5 年之前

In case of connection based communication (e.g. sockets) there needs to be a function to reset the shells status (remove all stored data etc.) To start with a fresh shell after each connection.

In case of connection based communication (e.g. sockets) there needs to be a function to reset the shells status (remove all stored data etc.) To start with a fresh shell after each connection.
shimatta 评论于 5 年之前
所有者

Maybe leave things like the history buffer intact

Maybe leave things like the history buffer intact
shimatta 评论于 5 年之前
所有者

Clearing the history buffer as well. If this is a problem in the future the api can be changed to allow the user to decide if the history buffer is cleared.

Clearing the history buffer as well. If this is a problem in the future the api can be changed to allow the user to decide if the history buffer is cleared.
登录 并参与到对话中。
未选择标签
未选择里程碑
未指派成员
1 名参与者
正在加载...
取消
保存
这个人很懒,什么都没留下。