Skip to content

Buffer isn't void #3

@ghost

Description

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
captura de pantalla de 2018-11-07 00-25-54

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions