cheezy / te3270

Automates a 3270 Terminal Emulator
MIT License
17 stars 22 forks source link

get_string for x3270 #20

Closed kieranbop closed 6 years ago

kieranbop commented 7 years ago

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 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

Thanks