New Upstream Snapshot - golang-github-konsorten-go-windows-terminal-sequences

Ready changes

Summary

Merged new upstream version: 1.0.3+ds (was: 1.0.2).

Resulting package

Built on 2022-10-21T13:29 (took 2m32s)

The resulting binary packages can be installed (if you have the apt repository enabled) by running one of:

apt install -t fresh-snapshots golang-github-konsorten-go-windows-terminal-sequences-dev

Lintian Result

Diff

diff --git a/README.md b/README.md
index 195333e..09a4a35 100644
--- a/README.md
+++ b/README.md
@@ -27,6 +27,7 @@ We thank all the authors who provided code to this library:
 
 * Felix Kollmann
 * Nicolas Perraut
+* @dirty49374
 
 ## License
 
diff --git a/debian/changelog b/debian/changelog
index 7214d33..c2cac64 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+golang-github-konsorten-go-windows-terminal-sequences (1.0.3+ds-1) UNRELEASED; urgency=low
+
+  * New upstream release.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Fri, 21 Oct 2022 13:27:57 -0000
+
 golang-github-konsorten-go-windows-terminal-sequences (1.0.2-3) unstable; urgency=medium
 
   [ Debian Janitor ]
diff --git a/sequences.go b/sequences.go
index ef18d8f..57f530a 100644
--- a/sequences.go
+++ b/sequences.go
@@ -4,7 +4,6 @@ package sequences
 
 import (
 	"syscall"
-	"unsafe"
 )
 
 var (
@@ -27,7 +26,7 @@ func EnableVirtualTerminalProcessing(stream syscall.Handle, enable bool) error {
 		mode &^= ENABLE_VIRTUAL_TERMINAL_PROCESSING
 	}
 
-	ret, _, err := setConsoleMode.Call(uintptr(unsafe.Pointer(stream)), uintptr(mode))
+	ret, _, err := setConsoleMode.Call(uintptr(stream), uintptr(mode))
 	if ret == 0 {
 		return err
 	}

Debdiff

File lists identical (after any substitutions)

No differences were encountered in the control files

More details

Full run details