[apps/code] Fix crashes on full buffer

Change-Id: If9297f1ca29015cad0cc1cdda3ad610fd1493392
This commit is contained in:
Hugo Saint-Vignes
2020-08-13 15:03:06 +02:00
committed by Émilie Feral
parent aba135bc8b
commit d937bc692b
4 changed files with 10 additions and 8 deletions

View File

@@ -49,6 +49,7 @@ public:
bool autoImportationStatus() const;
void toggleAutoimportationStatus();
const char * content() const;
size_t contentSize() { return value().size - k_statusSize; }
/* Fetched status */
bool fetchedFromConsole() const;