CShellWindow: disable not required screean saving on text paint

This commit is contained in:
2015-05-24 20:57:21 +02:00
parent f3d7bdda1e
commit cc49d5a714

View File

@@ -92,6 +92,7 @@ void CShellWindow::exec()
list<std::string> lines; list<std::string> lines;
CBox textBoxPosition(frameBuffer->getScreenX(), frameBuffer->getScreenX(), w_shell, h_shell); CBox textBoxPosition(frameBuffer->getScreenX(), frameBuffer->getScreenX(), w_shell, h_shell);
textBox = new CTextBox(cmd.c_str(), font, CTextBox::BOTTOM, &textBoxPosition); textBox = new CTextBox(cmd.c_str(), font, CTextBox::BOTTOM, &textBoxPosition);
textBox->enableSaveScreen(false);
struct pollfd fds; struct pollfd fds;
fds.fd = fileno(f); fds.fd = fileno(f);
fds.events = POLLIN | POLLHUP | POLLERR; fds.events = POLLIN | POLLHUP | POLLERR;