function setTitle (title) {
	process.stdout.write(
		`${String.fromCharCode(27)}]0;${title}${String.fromCharCode(7)}`
	)
}
set the terminal title using the required ANSI escape codes.
@param {String} title - title to be set.