musti645 / text-adventure-sama

An Angular library to create text adventures
MIT License
0 stars 0 forks source link

Clear output doesn't work #21

Closed musti645 closed 3 years ago

musti645 commented 3 years ago

Version: 0.0.9

      builder.addCommand()
        .setTrigger('clear')
        .setDescription('Clears the output.')
        .setClearsOutput()
        .setResponseFunction(() => ' ')
        .finish();

The above code did not clear the output window as expected.

musti645 commented 3 years ago

There was a line missing in the getCommandsResponse method of the InputParserService