[storage] New attempt to save cursor position

This commit is contained in:
Laury
2022-06-10 16:15:31 +02:00
parent 1db74c78ab
commit c826e556a1
9 changed files with 91 additions and 2 deletions

View File

@@ -50,6 +50,8 @@ public:
void toggleAutoimportationStatus();
const char * content() const;
size_t contentSize() { return value().size - k_statusSize; }
void setCursorOffset(uint16_t position); // -1 if no metadata
uint16_t cursorOffset();
/* Fetched status */
bool fetchedFromConsole() const;