This commit is contained in:
gmp
2019-09-10 11:36:03 -04:00
parent 2c4c708b3a
commit 12b57d263f
5 changed files with 51 additions and 53 deletions
+4 -4
View File
@@ -84,7 +84,7 @@ var (
store passgo.Store
reload chan struct{}
updated chan struct{}
chdir chan struct{}
chdir chan struct{}
passch chan []byte
)
@@ -223,7 +223,7 @@ func eventLoop() {
log(Info, err)
return
}
for i,n := range ids {
for i, n := range ids {
if i >= len(idBtns) {
idBtns = append(idBtns, &Button{
Face: face,
@@ -443,7 +443,7 @@ func eventLoop() {
c2 := flex.End(idLabel.Layout(ops, cs))
var c3 layout.FlexChild
//if len(idBtns) == 0 {
updateIdBtns()
updateIdBtns()
//}
cs = flex.Rigid()
if len(idBtns) == 0 { // still zero after update
@@ -496,7 +496,7 @@ func eventLoop() {
insValue = passvalEd.Text()
for _, n := range pathnames {
if insName == n {
log(Info,"Password exists")
log(Info, "Password exists")
page = confirmPage
w.Invalidate()
return
+1 -1
View File
@@ -69,7 +69,7 @@ func main() {
if opts.clip {
passgo.Clip(p)
} else {
fmt.Print(p)
fmt.Println(p)
}
default:
usage()