Skip to content

Commit 2e39ed2

Browse files
authored
Merge branch 'master' into win-dup-flag
2 parents 43baa50 + 743b270 commit 2e39ed2

File tree

5 files changed

+10
-12
lines changed

5 files changed

+10
-12
lines changed

LICENSE

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2009 The Go Authors. All rights reserved.
1+
Copyright 2009 The Go Authors.
22

33
Redistribution and use in source and binary forms, with or without
44
modification, are permitted provided that the following conditions are
@@ -10,7 +10,7 @@ notice, this list of conditions and the following disclaimer.
1010
copyright notice, this list of conditions and the following disclaimer
1111
in the documentation and/or other materials provided with the
1212
distribution.
13-
* Neither the name of Google Inc. nor the names of its
13+
* Neither the name of Google LLC nor the names of its
1414
contributors may be used to endorse or promote products derived from
1515
this software without specific prior written permission.
1616

README.md

+4-7
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,13 @@
44

55
This repository provides Go terminal and console support packages.
66

7-
## Download/Install
8-
9-
The easiest way to install is to run `go get -u golang.org/x/term`. You can
10-
also manually git clone the repository to `$GOPATH/src/golang.org/x/term`.
11-
127
## Report Issues / Send Patches
138

149
This repository uses Gerrit for code changes. To learn how to submit changes to
15-
this repository, see https://golang.org/doc/contribute.html.
10+
this repository, see https://go.dev/doc/contribute.
11+
12+
The git repository is https://go.googlesource.com/term.
1613

1714
The main issue tracker for the term repository is located at
18-
https://github.com/golang/go/issues. Prefix your issue with "x/term:" in the
15+
https://go.dev/issues. Prefix your issue with "x/term:" in the
1916
subject line, so it is easy to find.

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ module golang.org/x/term
22

33
go 1.18
44

5-
require golang.org/x/sys v0.17.0
5+
require golang.org/x/sys v0.30.0

go.sum

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
golang.org/x/sys v0.17.0 h1:25cE3gD+tdBA7lp7QfhuV+rJiE9YXTcS3VG1SqssI/Y=
2-
golang.org/x/sys v0.17.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
1+
golang.org/x/sys v0.30.0 h1:QjkSwP/36a20jFYWkSue1YwXzLmsV5Gfq7Eiy72C1uc=
2+
golang.org/x/sys v0.30.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=

term_windows.go

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ func makeRaw(fd int) (*State, error) {
2828
return nil, err
2929
}
3030
raw := st &^ (windows.ENABLE_ECHO_INPUT | windows.ENABLE_PROCESSED_INPUT | windows.ENABLE_LINE_INPUT)
31+
raw |= windows.ENABLE_VIRTUAL_TERMINAL_INPUT
3132
if err := windows.SetConsoleMode(windows.Handle(fd), raw); err != nil {
3233
return nil, err
3334
}

0 commit comments

Comments
 (0)