sshd/terminal/terminal.go: Clamp pos to protect from some fuzzing failures
sshd/terminal/terminal.go: Clamp pos to protect from some fuzzing failures

shazow/ssh-chat,voldyman/ssh-chat,shazow/ssh-chat,voldyman/ssh-chat