Console History is not trimmed to maximum #10598
Labels
beginners
issues that are perfect for beginners
console
issues related to the console
good first issue
good first issues for new contributors
hackathon
issues reserved for hackatons
Bug Description:
The history of commands typed in the debug console will not be capped at the intended limit (50), but grows forever).
Steps to Reproduce:
theia/packages/console/src/browser/console-history.ts
Line 22 in 8083f76
Additional Information
Looks like the history array is sliced correctly in the trim function, but the return value is ignored. The return value should be assigned to the original array, see
theia/packages/console/src/browser/console-history.ts
Line 42 in 8083f76
The text was updated successfully, but these errors were encountered: