Just add the update_cursor method to your window and don't use super. That way when the window tries to call the update_cursor method to get the size and position of the cursor it will get whatever you put in there like for example self.cursor_rect.empty
#--------------------------------------------------------------------------
# * Update cursor
#--------------------------------------------------------------------------
def update_cursor
self.cursor_rect.empty
end
If you want to resize it you need to set the cursor_rect like so:
self.cursor_rect = Rect.new(0, 0, 200, 24)
Let me know if that works out or if you need it explained any further.
Have a nice day.