I mainly have to issues. I\'m making an electron app and i want to redirect the console.log output to an instance of xterm.js to have something like vscode outputs. Also i want