xterm: update to 313