示例#1
0
 static void service_PtyReceived(object sender, PtyArgs e)
 {
     Console.WriteLine("Request to create a PTY received for terminal type {0}", e.Terminal);
 }
示例#2
0
 static void service_PtyReceived(object sender, PtyArgs e)
 {
     Console.WriteLine("Request to create a PTY received for terminal type {0}", e.Terminal);
     windowWidth  = (int)e.WidthChars;
     windowHeight = (int)e.HeightRows;
 }