Quantcast
Channel: Rebex Q&A Forum - Recent questions and answers
Viewing all articles
Browse latest Browse all 3862

Answered: Terminal emulation select all

$
0
0

Hi,

you can select entire screen including the history buffer with this line (where terminal is TerminalControl instance):

terminal.SetSelection(0, -terminal.HistoryLength, terminal.Screen.Columns, terminal.Screen.Rows);

Then, you can read all selected text with this line:

terminal.GetSelectedText()

Viewing all articles
Browse latest Browse all 3862

Trending Articles