Skip to content

A Hardware Hacking Tool with Web-Based CLI That Speaks Every Protocol

limit to 256 history lines for cardputer standalone

Geo74113f4f6106
diff --git a/src/Views/CardputerTerminalView.h b/src/Views/CardputerTerminalView.h
index c02c8201..3e0d3f99 100644
--- a/src/Views/CardputerTerminalView.h
+++ b/src/Views/CardputerTerminalView.h
@@ -108,7 +108,7 @@ private:
// Scrollback
std::deque<std::string> history;
- size_t historyMax = 512; // 512 lines max
+ size_t historyMax = 256;
int scrollOffset = 0;
bool padBeforeErase = false;