#14 Add shellmatta_resetShell to the API

Slēgta
shimatta atvēra 5 gadi atpakaļ · 2 komentāri

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 komentēja 5 gadi atpakaļ
Īpašnieks

Maybe leave things like the history buffer intact

Maybe leave things like the history buffer intact
shimatta komentēja 5 gadi atpakaļ
Īpašnieks

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.
Pierakstieties, lai pievienotos šai sarunai.
Nav etiķešu
Nav atskaites punktu
Nav atbildīgā
1 dalībnieki
Notiek ielāde...
Atcelt
Saglabāt
Vēl nav satura.