diff options
author | Ken Moore <moorekou@gmail.com> | 2016-03-10 15:00:36 -0500 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2016-03-10 15:00:36 -0500 |
commit | 41bdf520b0bbf629a0ca45aea3d665c6c951e0e7 (patch) | |
tree | ac52a62903fb654c9b3944a030392e3116471b9b /desktop-utilities/lumina-terminal/TtyProcess.h | |
parent | Finish cleaning up the TTY Process class, and get it setup for close notifica... (diff) | |
download | lumina-41bdf520b0bbf629a0ca45aea3d665c6c951e0e7.tar.gz lumina-41bdf520b0bbf629a0ca45aea3d665c6c951e0e7.tar.bz2 lumina-41bdf520b0bbf629a0ca45aea3d665c6c951e0e7.zip |
Clean up a lot of the ANSI control codes (tested with csh)
Diffstat (limited to 'desktop-utilities/lumina-terminal/TtyProcess.h')
-rw-r--r-- | desktop-utilities/lumina-terminal/TtyProcess.h | 6 |
1 files changed, 5 insertions, 1 deletions
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: |