Closed foleyfactor closed 7 years ago
Make console's contents persist between assignment questions.
I changed the way I was keeping track of the terminal contents by updating the state during termWrite and termClear. The contents are passed to the console by a prop and written when the component mounts.
Make console's contents persist between assignment questions.