fix(shell): forbied tab feature on windows
This commit is contained in:
parent
14c02530b5
commit
5039648174
|
@ -500,9 +500,11 @@ int32_t shellReadCommand(char *command) {
|
||||||
}
|
}
|
||||||
shellInsertChar(&cmd, utf8_array, count);
|
shellInsertChar(&cmd, utf8_array, count);
|
||||||
pressOtherKey(c);
|
pressOtherKey(c);
|
||||||
|
#ifndef WINDOWS
|
||||||
} else if (c == TAB_KEY) {
|
} else if (c == TAB_KEY) {
|
||||||
// press TAB key
|
// press TAB key
|
||||||
pressTabKey(&cmd);
|
pressTabKey(&cmd);
|
||||||
|
#endif
|
||||||
} else if (c < '\033') {
|
} else if (c < '\033') {
|
||||||
pressOtherKey(c);
|
pressOtherKey(c);
|
||||||
// Ctrl keys. TODO: Implement ctrl combinations
|
// Ctrl keys. TODO: Implement ctrl combinations
|
||||||
|
|
Loading…
Reference in New Issue