Update tsh

This commit is contained in:
Baptiste Wicht 2014-02-03 18:07:34 +01:00
parent 7be2b2596a
commit f3010e93ab
3 changed files with 3 additions and 2 deletions

1
.gitignore vendored
View File

@ -6,3 +6,4 @@
*.out
commands
mnt
programs/tsh/tsh

View File

@ -15,7 +15,7 @@ int main(){
while(true){
for(int i = 0; i < 10; ++i){
auto c = read_input(input_buffer, 63);
input_buffer[c] = '\0';
input_buffer[c-1] = '\0';
if(str_equals(input_buffer, "exit")){
exit(0);

Binary file not shown.