static VALUE rg_cursor_shape(VALUE self) { VteTerminalCursorShape shape; shape = vte_terminal_get_cursor_shape(_SELF(self)); return VTETERMINALCURSORSHAPE2RVAL(shape); }
static VALUE term_get_cursor_shape(VALUE self) { VteTerminalCursorShape shape; shape = vte_terminal_get_cursor_shape(RVAL2TERM(self)); return GENUM2RVAL(shape, VTE_TYPE_TERMINAL_CURSOR_SHAPE); }