[ ] Breaking change (fix or feature that would cause existing functionality to change)
Description
So after this change now the user's command history is saved.
only the valid commands are saved and, the 'history' command and invalid commands are not saved.
to not clutter up the screen the history command is capped to atmost 10 past commands, after 10 commands it acts as a queue popping the first command and pushing a new one in.
I have also added so that when the user open's the website the old user's commands can be directly accessed by up arrow.
Fixes
Fixes #106
Types of changes
Description
So after this change now the user's command history is saved. only the valid commands are saved and, the 'history' command and invalid commands are not saved. to not clutter up the screen the history command is capped to atmost 10 past commands, after 10 commands it acts as a queue popping the first command and pushing a new one in. I have also added so that when the user open's the website the old user's commands can be directly accessed by up arrow.
Preview Link
Here's my preview
Checklist: