gui: add terminal emulator
Emulates enough of a VT-100 to run busybox vi.
Change-Id: I99c829c6c9de2246194ecb8b8b3cdf4ac34a0606
diff --git a/gui/pages.cpp b/gui/pages.cpp
index c097c39..bd7c799 100644
--- a/gui/pages.cpp
+++ b/gui/pages.cpp
@@ -372,6 +372,14 @@
mRenders.push_back(element);
mActions.push_back(element);
}
+ else if (type == "terminal")
+ {
+ GUITerminal* element = new GUITerminal(child);
+ mObjects.push_back(element);
+ mRenders.push_back(element);
+ mActions.push_back(element);
+ mInputs.push_back(element);
+ }
else if (type == "button")
{
GUIButton* element = new GUIButton(child);