diff --git a/src/apps/terminal/Shell.cpp b/src/apps/terminal/Shell.cpp index 4436971867..6f98c9f8f1 100644 --- a/src/apps/terminal/Shell.cpp +++ b/src/apps/terminal/Shell.cpp @@ -126,6 +126,7 @@ typedef struct Shell::Shell() : fFd(-1), + fProcessID(-1), fTermParse(NULL), fAttached(false) { diff --git a/src/apps/terminal/TermParse.cpp b/src/apps/terminal/TermParse.cpp index 32461ffe84..2546fc9530 100644 --- a/src/apps/terminal/TermParse.cpp +++ b/src/apps/terminal/TermParse.cpp @@ -70,6 +70,7 @@ TermParse::TermParse(int fd) : fFd(fd), fAttr(FORECOLORED(7)), + fSavedAttr(FORECOLORED(7)), fParseThread(-1), fReaderThread(-1), fReaderSem(-1), diff --git a/src/apps/terminal/TermParse.h b/src/apps/terminal/TermParse.h index 6ba39bd845..4df9f5ba13 100644 --- a/src/apps/terminal/TermParse.h +++ b/src/apps/terminal/TermParse.h @@ -54,7 +54,7 @@ public: status_t StartThreads(TerminalBuffer *view); status_t StopThreads(); - + private: inline uchar _NextParseChar(); @@ -99,12 +99,10 @@ private: uchar fParserBuffer[ESC_PARSER_BUFFER_SIZE]; int32 fParserBufferSize; int32 fParserBufferOffset; - - int fLockFlag; TerminalBuffer *fBuffer; - - bool fQuitting; + + bool fQuitting; }; #endif // TERMPARSE_H