提交 c8c4a1af authored 作者: Jeff Lenk's avatar Jeff Lenk

ESL-24 Add tab complete to windows

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16010 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 5c86f214
差异被折叠。
......@@ -1123,7 +1123,10 @@ static int console_bufferInput (char* addchars, int len, char *cmd, int key)
cmd[--iCmdBuffer] = 0;
}
iCmdCursor = (int)strlen(cmd);
printf("%s%s", prompt, cmd);
printf("%s", prompt);
GetConsoleScreenBufferInfo(hOut, &info);
orgPosition = info.dwCursorPosition;
printf("%s", cmd);
return 0;
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论