Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- st = "abcdefghij"
- st = st[:-1]
- elif c == curses.KEY_DC or c == curses.KEY_BACKSPACE or c == 127:
- cur_line = cur_line[0:-1]
- stdscr.addstr(pos_type, (pos["x"] + pos_msg + len(cur_line)), " ".encode(code))
- stdscr.addstr(pos_type, pos_con, " ".encode(code))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement