litchie / exult-ios

Exult ( http://exult.sourceforge.net/ )
GNU General Public License v2.0
42 stars 8 forks source link

Notebook gump Textinput stops after hitting return #44

Closed DominusExult closed 7 years ago

DominusExult commented 8 years ago

I hacked around this by adding SDL_StartTextInput(); after hitting Return see https://github.com/litchie/exult-ios/commit/35f5399bbef49ef597baee2cfcd53cfcb556bf64#diff-ae7b187c51fe5883955c1d666172cdf3R664

But this makes the iOS keyboard flicker since it stops and starts Textinput. My guess is that this is an iOS code issue that it sees Return as some kind of done with input.

To test, start a game and click on the notebook on the right side of the shortcut bar.

DominusExult commented 7 years ago

This is an issue of SDL2 and can only be hacked by calling the keyboard again and again or hacking the keyboard code in SDL2 sources. I‘m leaning towards the latter.