[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

TerminalView.AlternateScreen , can it remain hidden?


Could it be possible to use TerminalView.AlternateScreen but not see it?

I want to run some commands via the AlternateScreen while the main screen
remains visible so the user cannot see it.

It seems to be a working way to get the prompt line of an active terminal.
I trying this..

Public Sub btnTest_Click()

  With TerminalView1
    .AlternateScreen = True
    .Input(" clear\n")
    Wait 0.1
    Dim Reply As String = Split(TerminalView1.Text, "\n").Last
    .AlternateScreen = False
  End With

  Debug Quote(Reply)

End

I get the prompt line okay but there is a flicker of it showing the other
screen I'd like to hide.

I hoped AlternateScreen might be a way to run other commands while the
current view remains the same.

Respects
BruceS