el_get
int el_get(EditLine *, int, ...);
el_get(e, EL_GETTC, "li", rows);
el_get(e, EL_GETTC, "co", cols);
el_get(e, EL_TERMINAL, &rl_terminal_name);
if (el_get(el, EL_CLIENTDATA, (void**)&complete_ctx) != 0)
if (el_get(el, EL_EDITOR, &editor) == 0 && editor[0] == 'v')