Fix uninitialized variable warning in Terminal.cpp:1047