def get_current_terminal_width():
try:<EOL><INDENT>return int(os.popen('<STR_LIT>', '<STR_LIT:r>').read().split()[<NUM_LIT:1>])<EOL><DEDENT>except Exception:<EOL><INDENT>return <NUM_LIT><EOL><DEDENT>
Returns the current terminal size, in characters.
:rtype: ``int``