part of previous checking of breaking terminal-client.js