Using pyui 0.95 and pygame, each keypress produces two characters
in an edit box.
The problem appears to be because each character is added to the
text in Edit._pyuiKeyDown, and again in Edit._pyuiChar.
sample code to produce the error:
import pyui
import pygame
pyui.init(320, 200, '2d')
dialog = pyui.dialogs.Dialog(0,0,100,50, "Test")
dialog.addChild(pyui.widgets.Edit("", 10, lambda x: None))
dialog.pack()
dialog.doModal()
while 1:
pyui.update()
pyui.draw()