Struct WshShellHistory_Data_t
ClassList > WshShellHistory_Data_t
Internal structure for storing command history buffer. More...
#include <wsh_shell_history.h>
Public Attributes
| Type | Name |
|---|---|
| WshShell_Size_t | HeadIdx |
| WshShell_Size_t | LastSavedCmdIdx |
| WshShell_Bool_t | LimitIsReached |
| WSH_SHELL_HIST_CMD_DIR_t | PrevDir |
| WshShell_Char_t | StorageBuff |
| WshShell_Size_t | TailIdx |
Detailed Description
This structure contains the command history as a raw character buffer and related metadata for navigation and storage management.
Public Attributes Documentation
variable HeadIdx
Index of the buffer start.
variable LastSavedCmdIdx
Index of the last saved command.
variable LimitIsReached
Flag indicating buffer search boundary reached.
variable PrevDir
Last direction of history navigation.
variable StorageBuff
Circular buffer for commands.
variable TailIdx
Index of the buffer end.
The documentation for this class was generated from the following file src/wsh_shell_history.h