When we use the readStr() function from kb.c the buffstr variable has garbage, in my case " o", before the while as I checked. Now, when a string is typed all looks good... But if you press enter (void command/string) in the next line you notice that the "input" was the previous string except the first letter which is now a space.
An example:
first problem
NIDOS> we press enter
o isn't recognized as a command <<<<the result
second problem
NIDOS>clear we press enter
NIDOS> we press enter
lear isn't recognized as a command <<<<the result

When we use the readStr() function from kb.c the buffstr variable has garbage, in my case " o", before the while as I checked. Now, when a string is typed all looks good... But if you press enter (void command/string) in the next line you notice that the "input" was the previous string except the first letter which is now a space.

An example:
first problem
NIDOS>we press entero isn't recognized as a command<<<<the resultsecond problem
NIDOS>clearwe press enterNIDOS>we press enterlear isn't recognized as a command<<<<the result