title: How do you set the terminal tab title from Node.js?
body: <p>I'm aware that this can be done manually from the terminal using:</p>
  
  <p><code>echo -n -e "\033]0;My terminal tab title\007"</code></p>
  
  <p>I tried putting this into a <code>console.log</code> and <code>process.stdout.write</code> and fiddling with the escaping, but I can't get it to work.</p>