From 41bdf520b0bbf629a0ca45aea3d665c6c951e0e7 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Thu, 10 Mar 2016 15:00:36 -0500 Subject: Clean up a lot of the ANSI control codes (tested with csh) --- desktop-utilities/lumina-terminal/TtyProcess.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'desktop-utilities/lumina-terminal/TtyProcess.h') diff --git a/desktop-utilities/lumina-terminal/TtyProcess.h b/desktop-utilities/lumina-terminal/TtyProcess.h index 45cdedd2..26cf3ed5 100644 --- a/desktop-utilities/lumina-terminal/TtyProcess.h +++ b/desktop-utilities/lumina-terminal/TtyProcess.h @@ -41,11 +41,15 @@ public: //Status update checks bool isOpen(); + //Functions for handling ANSI escape codes (typically not used by hand) + QByteArray CleanANSI(QByteArray, bool &incomplete); + private: pid_t childProc; int ttyfd; QSocketNotifier *sn; - + QByteArray fragBA; //fragment ByteArray + //==================================== // C Library function for setting up the PTY // Inputs: -- cgit