Skip to content

Commit

Permalink
Update Term mode xterm
Browse files Browse the repository at this point in the history
  • Loading branch information
shibingli committed Feb 27, 2017
1 parent a283de3 commit 0846595
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/apibox.club/website/console.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import (
"net"
"net/http"
"net/url"
"os"
"strings"

"apibox.club/utils"
Expand Down Expand Up @@ -198,7 +197,7 @@ func SSHWebSocketHandler(w http.ResponseWriter, r *http.Request) {
}
modeList = append(modeList, 0)
req := ptyRequestMsg{
Term: os.Getenv("TERM"),
Term: "xterm",
Columns: ptyCols,
Rows: ptyRows,
Width: ptyCols * 8,
Expand Down

0 comments on commit 0846595

Please sign in to comment.