Shell: Ignore tab as that just fucks up formatting

This commit is contained in:
Bananymous 2024-05-07 14:16:17 +03:00
parent d255141bd4
commit 967f9a9174
1 changed files with 3 additions and 0 deletions

View File

@ -1070,6 +1070,9 @@ int main(int argc, char** argv)
index = buffers.size() - 1;
col = 0;
break;
case '\t':
// FIXME: Implement tab completion or something
break;
default:
MUST(buffers[index].insert(ch, col++));
fprintf(stdout, "%c\e[s%s\e[u", ch, buffers[index].data() + col);