Record last commands only once
We first check the history (model->items_hash) if the command is already in. Only if the command is not in yet, we add it to the history
Please register or sign in to comment
We first check the history (model->items_hash) if the command is already in. Only if the command is not in yet, we add it to the history