SDL 1.3 iPhone and widget multiline


I use SDL in an iPhone application and I need to create a widget with MultiLine option. But when I press enter, the iPhone keyboard disappears.
I try to patch the sdl keyboard (src/video/uikit/SDL_uikitview.m and .h)by using a UITextView in place of the UITextField but in this case I had no keyboard event.

How can i do that the keyboard stay visible after press enter?