xterm: update to 312