I am using x3270 and I can do things like wait_for_string, get the whole screen.text etc but I cannot use the get_string method for my particular screen?
I am just presented with undefined methodget_string' for #` When looking through the source code it is used within the .text etc but I cannot call it directly?
Update:
Narrowed down the issue, I can call the get_string when I access the emulator directly, but I cannot use the get_string when I assign my emulator to a screen.
e.g
screen = MainframeScreen.new(emulator)
screen.get_string(1,1,2) //returns undefined
emulator.get_string(1,1,2) //returns value
Hello,
I am using x3270 and I can do things like wait_for_string, get the whole screen.text etc but I cannot use the get_string method for my particular screen?
I am just presented with` When looking through the source code it is used within the .text etc but I cannot call it directly?
undefined method
get_string' for #Update: Narrowed down the issue, I can call the get_string when I access the emulator directly, but I cannot use the get_string when I assign my emulator to a screen. e.g
Thanks