diff --git a/src/pw3270-sharp/pw3270-sharp.cs b/src/pw3270-sharp/pw3270-sharp.cs index 7e66148..2181358 100644 --- a/src/pw3270-sharp/pw3270-sharp.cs +++ b/src/pw3270-sharp/pw3270-sharp.cs @@ -416,44 +416,44 @@ namespace pw3270 { } public int GetWidth() { - return tn3270_get_width(hSession); + return tn3270_get_width(hSession); } public int Width { get { - return tn3270_get_width(hSession); + return tn3270_get_width(hSession); } } public int GetHeight() { - return tn3270_get_height(hSession); + return tn3270_get_height(hSession); } public int Height { get { - return tn3270_get_height(hSession); + return tn3270_get_height(hSession); } } public int GetLength() { - return tn3270_get_length(hSession); + return tn3270_get_length(hSession); } public int Length { get { - return tn3270_get_length(hSession); + return tn3270_get_length(hSession); } } - + public string CharSet { set { - tn3270_set_charset(hSession,value); + tn3270_set_charset(hSession,value); } } public string Url { set { - tn3270_set_url(hSession,value); + tn3270_set_url(hSession,value); } get { StringBuilder str = new StringBuilder(1025); @@ -461,7 +461,7 @@ namespace pw3270 { return str.ToString(); } } - + } } diff --git a/testprograms/sample.cs b/testprograms/sample.cs index 10daf2d..8551cc7 100644 --- a/testprograms/sample.cs +++ b/testprograms/sample.cs @@ -44,6 +44,8 @@ class sample { System.Console.WriteLine("Connected to " + host.Url); + System.Console.WriteLine("Wait for ready returned " + host.WaitForReady(5)); + System.Console.WriteLine(host.GetStringAt(14,19,38)); host.Disconnect(); -- libgit2 0.21.2