Added opt.cursor_shape