ó {G_Tc@sQddlZddlmZed„Zd„ZedkrMejeƒndS(iÿÿÿÿN(ttextpadc Cs[d \}}d\}}|r'd}nd}|j|d|d|ƒ|j|d|dƒtj||||ƒ}tj||d|d||||ƒ|jƒtj||ƒ}|jƒ} |j||dd d ƒ|jt| ƒƒ|jd ƒ|jd ƒ|j ƒx:t dƒD],} |j ||d| d ƒ|j ƒq'WdS(Niiis insert modesoverwrite modesUse Ctrl-G to end editing (%s).s0Be sure to try typing in the lower-right corner.iisText entered in the box s s Press any key(ii(ii( taddstrtcursestnewwinRt rectangletrefreshtTextboxtedittreprtgetchtrangetmovetclrtoeol( tstdscrt insert_modetncolstnlinestulytulxtmodetwintboxtcontentsti((s-/usr/local/lib/python2.7/test/curses_tests.pyt test_textpad s(   )     cCs(|jƒt|tƒt|tƒdS(N(tclearRtFalsetTrue(R ((s-/usr/local/lib/python2.7/test/curses_tests.pytmain's  t__main__(RRRRRt__name__twrapper(((s-/usr/local/lib/python2.7/test/curses_tests.pyt s