mirror of
https://github.com/wichtounet/thor-os.git
synced 2025-09-18 17:15:09 -04:00
Update tsh
This commit is contained in:
parent
7be2b2596a
commit
f3010e93ab
1
.gitignore
vendored
1
.gitignore
vendored
@ -6,3 +6,4 @@
|
||||
*.out
|
||||
commands
|
||||
mnt
|
||||
programs/tsh/tsh
|
@ -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);
|
||||
|
BIN
programs/tsh/tsh
BIN
programs/tsh/tsh
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user