#NEWLINE# def username_prompt( username_text , editor , max_prompt_padding ) : #NEWLINE# #INDENT# username = urwid . Text ( username , 'center' ) #NEWLINE# return urwid . Columns ( [ ( len ( username_text ) , username ) , ( ( max_prompt_padding - len ( username_text ) ) , urwid . Text ( '' ) ) , urwid . AttrWrap ( editor , 'editor' ) ] )