| File PromptRequest.hpp changed (mode: 100644) (index c8e8b04..86e37a1) |
| ... |
... |
namespace cursedrl { |
| 37 |
37 |
|
|
| 38 |
38 |
// Groups history management functions. |
// Groups history management functions. |
| 39 |
39 |
namespace PromptHistory { |
namespace PromptHistory { |
|
40 |
|
// Puts a limit on maximum number of history entries. |
|
41 |
|
void limit(int limit); |
| 40 |
42 |
// Loads history from the file. |
// Loads history from the file. |
| 41 |
43 |
void load(const std::string &path); |
void load(const std::string &path); |
| 42 |
44 |
// Stores history to the file. |
// Stores history to the file. |