Skip to content

Commit

Permalink
fix(exp/term): make conpty work with go 1.17
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
  • Loading branch information
caarlos0 committed Jan 17, 2024
1 parent d31dba3 commit 5a84c80
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions exp/term/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ module github.com/charmbracelet/x/exp/term
go 1.17

require golang.org/x/sys v0.16.0

require github.com/charmbracelet/x/errors v0.0.0-20240117030013-d31dba354651
2 changes: 2 additions & 0 deletions exp/term/go.sum
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
github.com/charmbracelet/x/errors v0.0.0-20240117030013-d31dba354651 h1:3RXpZWGWTOeVXCTv0Dnzxdv/MhNUkBfEcbaTY0zrTQI=
github.com/charmbracelet/x/errors v0.0.0-20240117030013-d31dba354651/go.mod h1:2P0UgXMEa6TsToMSuFqKFQR+fZTO9CNGUNokkPatT/0=
golang.org/x/sys v0.16.0 h1:xWw16ngr6ZMtmxDyKyIgsE93KNKz5HKmMa3b8ALHidU=
golang.org/x/sys v0.16.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
2 changes: 1 addition & 1 deletion exp/term/windows/conpty/conpty_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
package conpty

import (
"errors"
"fmt"
"io"
"os"
"syscall"
"unsafe"

"github.com/charmbracelet/x/errors"
"golang.org/x/sys/windows"
)

Expand Down

0 comments on commit 5a84c80

Please sign in to comment.