Replies: 2 comments 2 replies
-
It depends on how reliable you want this information to be. You can get access to the current contents displayed as well as what is in the back buffer by accessing the Terminal object and then getting to the active buffer, and from there extract the lines that you want. But the issue with something like An alternative is to replace the print built-in command and have it capture all the output on your behalf. |
Beta Was this translation helpful? Give feedback.
-
If that’s what you want, you already have that information: you are getting it before you even call the terminal’s feed method. |
Beta Was this translation helpful? Give feedback.
-
e.g. I have added "ls" it will show all directory the "cd Desktop" I need all raw text.
Beta Was this translation helpful? Give feedback.
All reactions