Skip to content

Fix "get Winsize redeclared in this block" due to platform build directives#34

Merged
buger merged 1 commit intobuger:masterfrom
gtardif:fix_terminal_conflicts
Apr 2, 2021
Merged

Fix "get Winsize redeclared in this block" due to platform build directives#34
buger merged 1 commit intobuger:masterfrom
gtardif:fix_terminal_conflicts

Conversation

@gtardif
Copy link
Contributor

@gtardif gtardif commented Apr 1, 2021

While using last master version, ran into this on linux.
(Due to the added terminal_windows.go file)
tested the forked version of this PR on windows & linux, fixed, cf used lib here

Signed-off-by: Guillaume Tardif guillaume.tardif@gmail.com

…Winsize redeclared in this block"

Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
@@ -1,4 +1,4 @@
// +build !windows plan9 solaris
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oups, sorry for that :'(

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

np :)

Copy link
Contributor

@ndeloof ndeloof left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@buger my bad, I introduced this by mistake on #33

@buger
Copy link
Owner

buger commented Apr 2, 2021

Thank you!

@buger buger merged commit 597778c into buger:master Apr 2, 2021
@buger
Copy link
Owner

buger commented Apr 2, 2021

I also finally have created v1.0.0 release (and there is go modules support too), so you do not have to depend on master anymore :)

@ndeloof
Copy link
Contributor

ndeloof commented Apr 2, 2021

🍾

@buger
Copy link
Owner

buger commented Apr 2, 2021

Btw, is there any requests on how to extend this library, is there anything basic missing?

@ndeloof
Copy link
Contributor

ndeloof commented Apr 2, 2021

nothing obvious doing a quick comparison with https://github.com/moby/term

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants