esh_history.h 298 B

1234567891011
  1. #include "esh_types.h"
  2. #ifndef ESH_HISTORY_H
  3. #define ESH_HISTORY_H
  4. void EShAddCommandToHistory(char* command); // saves command copy to history list.
  5. const char* EShReceiveCommandFromHistory(int step); // returns pointer to command, executed _step_ steps ago.
  6. #endif // ESH_HISTORY_H