## Environment details - OS: - OS version: - node-pty version: ## Issue description is there a method to check when an execution completes after a command was written, for example: ```js ptyInstance.write('echo test', () => { // execution has been completed }) ```