bump gocui

This commit is contained in:
Jesse Duffield
2021-04-05 14:19:20 +10:00
parent 4c73d070ac
commit c9ded489c9
5 changed files with 16 additions and 5 deletions

View File

@@ -1202,6 +1202,9 @@ func (g *Gui) replayRecording() {
waitGroup.Add(2)
// lots of duplication here due to lack of generics. Also we don't support mouse
// events because it would be awkward to replicate but it would be trivial to add
// support
go func() {
ticker := time.NewTicker(time.Millisecond)
defer ticker.Stop()

View File

@@ -1334,7 +1334,11 @@ func (absoluteSD *SECURITY_DESCRIPTOR) ToSelfRelative() (selfRelativeSD *SECURIT
}
func (selfRelativeSD *SECURITY_DESCRIPTOR) copySelfRelativeSecurityDescriptor() *SECURITY_DESCRIPTOR {
sdLen := (int)(selfRelativeSD.Length())
sdLen := int(selfRelativeSD.Length())
const min = int(unsafe.Sizeof(SECURITY_DESCRIPTOR{}))
if sdLen < min {
sdLen = min
}
var src []byte
h := (*unsafeheader.Slice)(unsafe.Pointer(&src))

4
vendor/modules.txt vendored
View File

@@ -149,7 +149,7 @@ github.com/jesseduffield/go-git/v5/utils/merkletrie/filesystem
github.com/jesseduffield/go-git/v5/utils/merkletrie/index
github.com/jesseduffield/go-git/v5/utils/merkletrie/internal/frame
github.com/jesseduffield/go-git/v5/utils/merkletrie/noder
# github.com/jesseduffield/gocui v0.3.1-0.20210403045716-a3be78c4ccf6
# github.com/jesseduffield/gocui v0.3.1-0.20210405041826-439abd8b6e07
## explicit
github.com/jesseduffield/gocui
# github.com/jesseduffield/termbox-go v0.0.0-20200823212418-a2289ed6aafe
@@ -235,7 +235,7 @@ golang.org/x/crypto/ssh/knownhosts
golang.org/x/net/context
golang.org/x/net/internal/socks
golang.org/x/net/proxy
# golang.org/x/sys v0.0.0-20210402192133-700132347e07
# golang.org/x/sys v0.0.0-20210403161142-5e06dd20ab57
## explicit
golang.org/x/sys/cpu
golang.org/x/sys/internal/unsafeheader