Update terminal.coffee