Fix console plugin infinite loop
Merge pull request #181 from QuentinFchx/patch-1

Fix console plugin infinite loop