Return to Snippet

Revision: 24592
at March 4, 2010 15:55 by tcdent


Initial Code
# Clear BOL
curses.tigetstr('el1')
'\x1b[1K$<3>'

# Clear EOL
curses.tigetstr('el')
'\x1b[K$<3>'

# Up
curses.tigetstr('cuu1')
'\x1b[A$<2>'

# Down
curses.tigetstr('cud1')
'\n'

# Left
curses.tigetstr('cub1')
'\x08'

# Right
curses.tigetstr('cuf1')
'\x1b[C$<2>'

Initial URL


Initial Description


Initial Title
Python curses conversion of terminal commands

Initial Tags


Initial Language
Python