Adopt new v6502 debugger tab completion

git-svn-id: svn+ssh://svn.phoenixbox.net/svn/apple1/trunk@95 64f78de7-aa59-e511-a0e8-0002a5492df0
This commit is contained in:
Daniel Loffgren 2016-04-15 07:41:05 +00:00
parent c9313e0a79
commit c5e7f95885
1 changed files with 2 additions and 0 deletions

View File

@ -146,6 +146,8 @@ int main(int argc, const char * argv[])
el_set(el, EL_SIGNAL, SIGWINCH);
el_set(el, EL_EDITOR, "emacs");
el_set(el, EL_HIST, history, hist);
el_set(el, EL_ADDFN, "tab-complete", "Tab completion", v6502_completeDebuggerCommand);
el_set(el, EL_BIND, "\t", "tab-complete");
char *command = NULL;
while (!feof(stdin)) {