Skip to content

Commit

Permalink
Merge branch 'master' into doubleclick
Browse files Browse the repository at this point in the history
  • Loading branch information
gcla committed Jul 9, 2022
2 parents 9b04704 + 35e5bf4 commit 34ec53c
Show file tree
Hide file tree
Showing 116 changed files with 245 additions and 132 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*.log
/go.work
/go.work.sum
9 changes: 6 additions & 3 deletions app.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019 Graham Clark. All rights reserved. Use of this source
// Copyright 2019-2022 Graham Clark. All rights reserved. Use of this source
// code is governed by the MIT license that can be found in the LICENSE
// file.

Expand Down Expand Up @@ -101,6 +101,7 @@ type App struct {
enableBracketedPaste bool
screenInited bool
dontOwnScreen bool
tty string

lastMouse MouseState // So I can tell if a button was previously clicked
MouseState // Track which mouse buttons are currently down
Expand All @@ -119,6 +120,7 @@ type AppArgs struct {
EnableBracketedPaste bool
Log log.StdLogger
DontActivate bool
Tty string
}

// IUnhandledInput is used as a handler for application user input that is not handled by any
Expand Down Expand Up @@ -244,7 +246,7 @@ func newApp(args AppArgs) (rapp *App, rerr error) {
screen := args.Screen
if screen == nil {
var err error
screen, err = tcellScreen()
screen, err = tcellScreen(args.Tty)
if err != nil {
rerr = WithKVs(err, map[string]interface{}{"TERM": os.Getenv("TERM")})
return
Expand Down Expand Up @@ -287,6 +289,7 @@ func newApp(args AppArgs) (rapp *App, rerr error) {
enableMouseMotion: args.EnableMouseMotion,
enableBracketedPaste: args.EnableBracketedPaste,
dontOwnScreen: args.Screen != nil,
tty: args.Tty,
}

if !res.dontOwnScreen && !args.DontActivate {
Expand Down Expand Up @@ -818,7 +821,7 @@ func (a *App) Quit() {
//
// Assumes we own the screen...
func (a *App) ActivateScreen() error {
screen, err := tcellScreen()
screen, err := tcellScreen(a.tty)
if err != nil {
return WithKVs(err, map[string]interface{}{"TERM": os.Getenv("TERM")})
}
Expand Down
2 changes: 1 addition & 1 deletion callbacks.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// Copyright 2019-2022 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// that can be found in the LICENSE file.

package gowid
Expand Down
2 changes: 1 addition & 1 deletion callbacks_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// Copyright 2019-2022 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// that can be found in the LICENSE file.

package gowid
Expand Down
2 changes: 1 addition & 1 deletion canvas.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019 Graham Clark. All rights reserved. Use of this source
// Copyright 2019-2022 Graham Clark. All rights reserved. Use of this source
// code is governed by the MIT license that can be found in the LICENSE
// file.

Expand Down
2 changes: 1 addition & 1 deletion canvas_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019 Graham Clark. All rights reserved. Use of this source
// Copyright 2019-2022 Graham Clark. All rights reserved. Use of this source
// code is governed by the MIT license that can be found in the LICENSE
// file.

Expand Down
2 changes: 1 addition & 1 deletion cell.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019 Graham Clark. All rights reserved. Use of this source
// Copyright 2019-2022 Graham Clark. All rights reserved. Use of this source
// code is governed by the MIT license that can be found in the LICENSE
// file.

Expand Down
2 changes: 1 addition & 1 deletion decoration.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// Copyright 2019-2022 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// that can be found in the LICENSE file.

package gowid
Expand Down
2 changes: 1 addition & 1 deletion decoration_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// Copyright 2019-2022 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// that can be found in the LICENSE file.

package gowid
Expand Down
2 changes: 1 addition & 1 deletion examples/gowid-asciigraph/asciigraph.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// Copyright 2019-2022 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// that can be found in the LICENSE file.

// An example of the gowid asciigraph widget which relies upon the
Expand Down
2 changes: 1 addition & 1 deletion examples/gowid-dir/dir.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// Copyright 2019-2022 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// that can be found in the LICENSE file.

// A simple gowid directory browser.
Expand Down
2 changes: 1 addition & 1 deletion examples/gowid-editor/editor.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// Copyright 2019-2022 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// that can be found in the LICENSE file.

// A poor-man's editor using gowid widgets - shows dialog, edit and vscroll.
Expand Down
2 changes: 1 addition & 1 deletion examples/gowid-fib/fib.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// Copyright 2019-2022 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// that can be found in the LICENSE file.

// A port of urwid's fib.py example using gowid widgets.
Expand Down
2 changes: 1 addition & 1 deletion examples/gowid-graph/graph.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// Copyright 2019-2022 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// that can be found in the LICENSE file.

// A port of urwid's graph.py example using gowid widgets.
Expand Down
2 changes: 1 addition & 1 deletion examples/gowid-helloworld/helloworld.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// Copyright 2019-2022 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// that can be found in the LICENSE file.

// A port of urwid's "Hello World" example from the tutorial, using gowid widgets.
Expand Down
2 changes: 1 addition & 1 deletion examples/gowid-menu/menu.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// Copyright 2019-2022 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// that can be found in the LICENSE file.

// A demonstration of gowid's menu, list and overlay widgets.
Expand Down
2 changes: 1 addition & 1 deletion examples/gowid-overlay1/overlay1.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// Copyright 2019-2022 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// that can be found in the LICENSE file.

// A demonstration of gowid's overlay and fill widgets.
Expand Down
2 changes: 1 addition & 1 deletion examples/gowid-overlay2/overlay2.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// Copyright 2019-2022 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// that can be found in the LICENSE file.

// A demonstration of gowid's overlay, fill, asciigraph and radio widgets.
Expand Down
2 changes: 1 addition & 1 deletion examples/gowid-overlay3/overlay3.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// Copyright 2019-2022 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// that can be found in the LICENSE file.

// A demonstration of gowid's overlay and fill widgets.
Expand Down
2 changes: 1 addition & 1 deletion examples/gowid-palette/palette.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// Copyright 2019-2022 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// that can be found in the LICENSE file.

// A port of urwid's palette_test.py example using gowid widgets.
Expand Down
2 changes: 1 addition & 1 deletion examples/gowid-table/table.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//go:generate statik -src=data

// Copyright 2019 Graham Clark. All rights reserved. Use of this source
// Copyright 2019-2022 Graham Clark. All rights reserved. Use of this source
// code is governed by the MIT license that can be found in the LICENSE
// file.

Expand Down
2 changes: 1 addition & 1 deletion examples/gowid-terminal/terminal.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// Copyright 2019-2022 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// that can be found in the LICENSE file.

// A very poor-man's tmux written using gowid's terminal widget.
Expand Down
2 changes: 1 addition & 1 deletion examples/gowid-tree/tree.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019 Graham Clark. All rights reserved. Use of this source
// Copyright 2019-2022 Graham Clark. All rights reserved. Use of this source
// code is governed by the MIT license that can be found in the LICENSE
// file.

Expand Down
2 changes: 1 addition & 1 deletion examples/gowid-tutorial1/tutorial1.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// Copyright 2019-2022 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// that can be found in the LICENSE file.

// The first example from the gowid tutorial.
Expand Down
2 changes: 1 addition & 1 deletion examples/gowid-tutorial2/tutorial2.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// Copyright 2019-2022 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// that can be found in the LICENSE file.

// The second example from the gowid tutorial.
Expand Down
2 changes: 1 addition & 1 deletion examples/gowid-tutorial3/tutorial3.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// Copyright 2019-2022 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// that can be found in the LICENSE file.

// The third example from the gowid tutorial.
Expand Down
2 changes: 1 addition & 1 deletion examples/gowid-tutorial4/tutorial4.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// Copyright 2019-2022 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// that can be found in the LICENSE file.

// The fourth example from the gowid tutorial.
Expand Down
2 changes: 1 addition & 1 deletion examples/gowid-tutorial5/tutorial5.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// Copyright 2019-2022 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// that can be found in the LICENSE file.

// The fifth example from the gowid tutorial.
Expand Down
2 changes: 1 addition & 1 deletion examples/gowid-tutorial6/tutorial6.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// Copyright 2019-2022 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// that can be found in the LICENSE file.

// The sixth example from the gowid tutorial.
Expand Down
2 changes: 1 addition & 1 deletion examples/gowid-widgets1/widgets1.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// Copyright 2019-2022 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// that can be found in the LICENSE file.

// A gowid test app which exercises the pile, button, edit and progress widgets.
Expand Down
2 changes: 1 addition & 1 deletion examples/gowid-widgets2/widgets2.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// Copyright 2019-2022 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// that can be found in the LICENSE file.

// A gowid test app which exercises the columns, checkbox, edit and styled widgets.
Expand Down
2 changes: 1 addition & 1 deletion examples/gowid-widgets3/widgets3.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// Copyright 2019-2022 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// that can be found in the LICENSE file.

// A gowid test app which exercises the button, grid, progress and radio widgets.
Expand Down
2 changes: 1 addition & 1 deletion examples/gowid-widgets4/widgets4.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// Copyright 2019-2022 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// that can be found in the LICENSE file.

// A gowid test app which exercises the columns, list and framed widgets.
Expand Down
2 changes: 1 addition & 1 deletion examples/gowid-widgets5/widgets5.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// Copyright 2019-2022 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// that can be found in the LICENSE file.

// A gowid test app which exercises the edit and vpadding widgets.
Expand Down
2 changes: 1 addition & 1 deletion examples/gowid-widgets6/widgets6.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// Copyright 2019-2022 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// that can be found in the LICENSE file.

// A gowid test app which exercises the list, edit, columns and styled widgets.
Expand Down
2 changes: 1 addition & 1 deletion examples/gowid-widgets7/widgets7.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// Copyright 2019-2022 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// that can be found in the LICENSE file.

// A gowid test app which exercises the list, edit and framed widgets.
Expand Down
2 changes: 1 addition & 1 deletion examples/gowid-widgets8/widgets8.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// Copyright 2019-2022 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// that can be found in the LICENSE file.

// A gowid test app which exercises the checkbox, columns and hpadding widgets.
Expand Down
2 changes: 1 addition & 1 deletion examples/utils.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// Copyright 2019-2022 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// that can be found in the LICENSE file.

package examples
Expand Down
2 changes: 1 addition & 1 deletion gwtest/support_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// Copyright 2019-2022 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// that can be found in the LICENSE file.

package gwtest
Expand Down
2 changes: 1 addition & 1 deletion gwtest/testutils.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019 Graham Clark. All rights reserved. Use of this source
// Copyright 2019-2022 Graham Clark. All rights reserved. Use of this source
// code is governed by the MIT license that can be found in the LICENSE
// file.

Expand Down
2 changes: 1 addition & 1 deletion gwutil/utils.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// Copyright 2019-2022 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// that can be found in the LICENSE file.

// Package gwutil provides general-purpose utilities that are not used by
Expand Down
2 changes: 1 addition & 1 deletion gwutil/utils_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// Copyright 2019-2022 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// that can be found in the LICENSE file.

package gwutil
Expand Down
11 changes: 7 additions & 4 deletions screen.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,22 @@ import (

//======================================================================

func tcellScreen() (tcell.Screen, error) {
func tcellScreen(ttys string) (tcell.Screen, error) {
var tty tcell.Tty
var err error

tty, err = tcell.NewDevTtyFromDev(bestTty())
tty, err = tcell.NewDevTtyFromDev(bestTty(ttys))
if err != nil {
return nil, WithKVs(err, map[string]interface{}{"GOWID_TTY": os.Getenv("GOWID_TTY")})
return nil, WithKVs(err, map[string]interface{}{"tty": ttys})
}

return tcell.NewTerminfoScreenFromTty(tty)
}

func bestTty() string {
func bestTty(tty string) string {
if tty != "" {
return tty
}
gwtty := os.Getenv("GOWID_TTY")
if gwtty != "" {
return gwtty
Expand Down
2 changes: 1 addition & 1 deletion screen_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

//======================================================================

func tcellScreen() (tcell.Screen, error) {
func tcellScreen(tty string) (tcell.Screen, error) {
return tcell.NewScreen()
}

Expand Down
2 changes: 1 addition & 1 deletion support.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019 Graham Clark. All rights reserved. Use of this source
// Copyright 2019-2022 Graham Clark. All rights reserved. Use of this source
// code is governed by the MIT license that can be found in the LICENSE
// file.

Expand Down
2 changes: 1 addition & 1 deletion utils.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// Copyright 2019-2022 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// that can be found in the LICENSE file.

package gowid
Expand Down
2 changes: 1 addition & 1 deletion vim/vim_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019 Graham Clark. All rights reserved. Use of this source
// Copyright 2019-2022 Graham Clark. All rights reserved. Use of this source
// code is governed by the MIT license that can be found in the LICENSE
// file.

Expand Down
2 changes: 1 addition & 1 deletion widgets/asciigraph/asciigraph.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019 Graham Clark. All rights reserved. Use of this source
// Copyright 2019-2022 Graham Clark. All rights reserved. Use of this source
// code is governed by the MIT license that can be found in the LICENSE
// file.

Expand Down
2 changes: 1 addition & 1 deletion widgets/asciigraph/asciigraph_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019 Graham Clark. All rights reserved. Use of this source
// Copyright 2019-2022 Graham Clark. All rights reserved. Use of this source
// code is governed by the MIT license that can be found in the LICENSE
// file.

Expand Down
2 changes: 1 addition & 1 deletion widgets/bargraph/bargraph.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019 Graham Clark. All rights reserved. Use of this source
// Copyright 2019-2022 Graham Clark. All rights reserved. Use of this source
// code is governed by the MIT license that can be found in the LICENSE
// file.

Expand Down
2 changes: 1 addition & 1 deletion widgets/boxadapter/boxadapter.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019 Graham Clark. All rights reserved. Use of this source code
// Copyright 2019-2022 Graham Clark. All rights reserved. Use of this source code
// is governed by the MIT license that can be found in the LICENSE file.

// Package boxadapter provides a widget that will allow a box widget to be used
Expand Down
2 changes: 1 addition & 1 deletion widgets/boxadapter/boxadapter_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// Copyright 2019-2022 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// that can be found in the LICENSE file.

package boxadapter
Expand Down
2 changes: 1 addition & 1 deletion widgets/button/button.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019 Graham Clark. All rights reserved. Use of this source
// Copyright 2019-2022 Graham Clark. All rights reserved. Use of this source
// code is governed by the MIT license that can be found in the LICENSE
// file.

Expand Down
2 changes: 1 addition & 1 deletion widgets/button/button_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// Copyright 2019-2022 Graham Clark. All rights reserved. Use of this source code is governed by the MIT license
// that can be found in the LICENSE file.

package button
Expand Down
2 changes: 1 addition & 1 deletion widgets/cellmod/cellmod.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019 Graham Clark. All rights reserved. Use of this source
// Copyright 2019-2022 Graham Clark. All rights reserved. Use of this source
// code is governed by the MIT license that can be found in the LICENSE
// file.

Expand Down
Loading

0 comments on commit 34ec53c

Please sign in to comment.