summaryrefslogtreecommitdiffstats
path: root/konsole/konsole/TEPty.h
diff options
context:
space:
mode:
Diffstat (limited to 'konsole/konsole/TEPty.h')
-rw-r--r--konsole/konsole/TEPty.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/konsole/konsole/TEPty.h b/konsole/konsole/TEPty.h
index 294fde8c7..1597d44d8 100644
--- a/konsole/konsole/TEPty.h
+++ b/konsole/konsole/TEPty.h
@@ -39,6 +39,13 @@ Q_OBJECT
~TEPty();
public:
+ bool setPtyFd(int p) {
+ bool res = pty()->setPty(p);
+ setupCommunication((Communication)(Stdin|Stdout));
+ commSetupDoneP();
+ runs = true;
+ return res;
+ };
/*!
* having a `run' separate from the constructor allows to make