edv.py: revise drawing cursor
use new cursor_line, draw_cursor, remove_cursor