]> Cypherpunks repositories - gostls13.git/commit
exp/terminal: rename shell to terminal and add SetSize
authorAdam Langley <agl@golang.org>
Fri, 11 Nov 2011 19:04:33 +0000 (14:04 -0500)
committerAdam Langley <agl@golang.org>
Fri, 11 Nov 2011 19:04:33 +0000 (14:04 -0500)
commit252ef18d04a2560e66aef7b560bd02db92bed912
tree00e3c41c5c8b51bbb85419a523c2f5a836d0a56d
parent791aef1821638824cd135a0d6828bd873c06be6b
exp/terminal: rename shell to terminal and add SetSize

It was never really a shell, but the name carried
over from SSH's ServerShell.

Two small functional changes:

Add SetSize, which allows the size of the terminal
to be changed in response, say, to an SSH message.

Don't write the prompt if there's already something
on the current line.

R=rsc
CC=golang-dev
https://golang.org/cl/5376066
src/pkg/exp/terminal/Makefile
src/pkg/exp/terminal/terminal.go [moved from src/pkg/exp/terminal/shell.go with 56% similarity]
src/pkg/exp/terminal/terminal_test.go [moved from src/pkg/exp/terminal/shell_test.go with 96% similarity]