version 1.16, 2003/03/10 11:09:25 |
version 1.17, 2003/06/04 20:14:05 |
Line 612 protected el_action_t |
|
Line 612 protected el_action_t |
|
vi_list_or_eof(EditLine *el, int c) |
vi_list_or_eof(EditLine *el, int c) |
{ |
{ |
|
|
#ifdef notyet |
if (el->el_line.cursor == el->el_line.lastchar) { |
if (el->el_line.cursor == el->el_line.lastchar && |
if (el->el_line.cursor == el->el_line.buffer) { |
el->el_line.cursor == el->el_line.buffer) { |
term_overwrite(el, STReof, 4); /* then do a EOF */ |
#endif |
term__flush(); |
term_overwrite(el, STReof, 4); /* then do a EOF */ |
return (CC_EOF); |
term__flush(); |
} else { |
return (CC_EOF); |
/* |
#ifdef notyet |
* Here we could list completions, but it is an |
|
* error right now |
|
*/ |
|
term_beep(el); |
|
return (CC_ERROR); |
|
} |
} else { |
} else { |
|
#ifdef notyet |
re_goto_bottom(el); |
re_goto_bottom(el); |
*el->el_line.lastchar = '\0'; /* just in case */ |
*el->el_line.lastchar = '\0'; /* just in case */ |
return (CC_LIST_CHOICES); |
return (CC_LIST_CHOICES); |
} |
#else |
|
/* |
|
* Just complain for now. |
|
*/ |
|
term_beep(el); |
|
return (CC_ERROR); |
#endif |
#endif |
|
} |
} |
} |
|
|
|
|