1
0
mirror of https://github.com/mum4k/termdash.git synced 2025-04-25 13:48:50 +08:00

Modifying imports 'internal' -> 'private'.

This commit is contained in:
Jakub Sobon 2020-04-10 15:26:45 -04:00
parent 254ca7d460
commit 06eb7623bd
No known key found for this signature in database
GPG Key ID: F2451A77FB05D3B7
98 changed files with 288 additions and 288 deletions

View File

@ -27,7 +27,7 @@ for more details.
The public API surface is documented in the The public API surface is documented in the
[wiki](http://github.com/mum4k/termdash/wiki). [wiki](http://github.com/mum4k/termdash/wiki).
Private packages can be identified by the presence of the **/internal/** Private packages can be identified by the presence of the **/private/**
directory in their import path. Stability of the private packages isn't directory in their import path. Stability of the private packages isn't
guaranteed and changes won't be backward compatible. guaranteed and changes won't be backward compatible.

View File

@ -27,10 +27,10 @@ import (
"image" "image"
"sync" "sync"
"github.com/mum4k/termdash/internal/alignfor"
"github.com/mum4k/termdash/internal/area"
"github.com/mum4k/termdash/internal/event"
"github.com/mum4k/termdash/linestyle" "github.com/mum4k/termdash/linestyle"
"github.com/mum4k/termdash/private/alignfor"
"github.com/mum4k/termdash/private/area"
"github.com/mum4k/termdash/private/event"
"github.com/mum4k/termdash/terminal/terminalapi" "github.com/mum4k/termdash/terminal/terminalapi"
"github.com/mum4k/termdash/widgetapi" "github.com/mum4k/termdash/widgetapi"
) )

View File

@ -23,16 +23,16 @@ import (
"github.com/mum4k/termdash/align" "github.com/mum4k/termdash/align"
"github.com/mum4k/termdash/cell" "github.com/mum4k/termdash/cell"
"github.com/mum4k/termdash/internal/canvas/testcanvas"
"github.com/mum4k/termdash/internal/draw"
"github.com/mum4k/termdash/internal/draw/testdraw"
"github.com/mum4k/termdash/internal/event"
"github.com/mum4k/termdash/internal/event/testevent"
"github.com/mum4k/termdash/internal/faketerm"
"github.com/mum4k/termdash/internal/fakewidget"
"github.com/mum4k/termdash/keyboard" "github.com/mum4k/termdash/keyboard"
"github.com/mum4k/termdash/linestyle" "github.com/mum4k/termdash/linestyle"
"github.com/mum4k/termdash/mouse" "github.com/mum4k/termdash/mouse"
"github.com/mum4k/termdash/private/canvas/testcanvas"
"github.com/mum4k/termdash/private/draw"
"github.com/mum4k/termdash/private/draw/testdraw"
"github.com/mum4k/termdash/private/event"
"github.com/mum4k/termdash/private/event/testevent"
"github.com/mum4k/termdash/private/faketerm"
"github.com/mum4k/termdash/private/fakewidget"
"github.com/mum4k/termdash/terminal/terminalapi" "github.com/mum4k/termdash/terminal/terminalapi"
"github.com/mum4k/termdash/widgetapi" "github.com/mum4k/termdash/widgetapi"
"github.com/mum4k/termdash/widgets/barchart" "github.com/mum4k/termdash/widgets/barchart"

View File

@ -22,9 +22,9 @@ import (
"image" "image"
"github.com/mum4k/termdash/cell" "github.com/mum4k/termdash/cell"
"github.com/mum4k/termdash/internal/area" "github.com/mum4k/termdash/private/area"
"github.com/mum4k/termdash/internal/canvas" "github.com/mum4k/termdash/private/canvas"
"github.com/mum4k/termdash/internal/draw" "github.com/mum4k/termdash/private/draw"
"github.com/mum4k/termdash/widgetapi" "github.com/mum4k/termdash/widgetapi"
) )

View File

@ -20,12 +20,12 @@ import (
"github.com/mum4k/termdash/align" "github.com/mum4k/termdash/align"
"github.com/mum4k/termdash/cell" "github.com/mum4k/termdash/cell"
"github.com/mum4k/termdash/internal/canvas/testcanvas"
"github.com/mum4k/termdash/internal/draw"
"github.com/mum4k/termdash/internal/draw/testdraw"
"github.com/mum4k/termdash/internal/faketerm"
"github.com/mum4k/termdash/internal/fakewidget"
"github.com/mum4k/termdash/linestyle" "github.com/mum4k/termdash/linestyle"
"github.com/mum4k/termdash/private/canvas/testcanvas"
"github.com/mum4k/termdash/private/draw"
"github.com/mum4k/termdash/private/draw/testdraw"
"github.com/mum4k/termdash/private/faketerm"
"github.com/mum4k/termdash/private/fakewidget"
"github.com/mum4k/termdash/widgetapi" "github.com/mum4k/termdash/widgetapi"
) )

View File

@ -19,8 +19,8 @@ package container
import ( import (
"image" "image"
"github.com/mum4k/termdash/internal/button"
"github.com/mum4k/termdash/mouse" "github.com/mum4k/termdash/mouse"
"github.com/mum4k/termdash/private/button"
"github.com/mum4k/termdash/terminal/terminalapi" "github.com/mum4k/termdash/terminal/terminalapi"
) )

View File

@ -21,11 +21,11 @@ import (
"time" "time"
"github.com/mum4k/termdash/cell" "github.com/mum4k/termdash/cell"
"github.com/mum4k/termdash/internal/event"
"github.com/mum4k/termdash/internal/event/testevent"
"github.com/mum4k/termdash/internal/faketerm"
"github.com/mum4k/termdash/linestyle" "github.com/mum4k/termdash/linestyle"
"github.com/mum4k/termdash/mouse" "github.com/mum4k/termdash/mouse"
"github.com/mum4k/termdash/private/event"
"github.com/mum4k/termdash/private/event/testevent"
"github.com/mum4k/termdash/private/faketerm"
"github.com/mum4k/termdash/terminal/terminalapi" "github.com/mum4k/termdash/terminal/terminalapi"
) )

View File

@ -23,13 +23,13 @@ import (
"github.com/mum4k/termdash" "github.com/mum4k/termdash"
"github.com/mum4k/termdash/cell" "github.com/mum4k/termdash/cell"
"github.com/mum4k/termdash/container" "github.com/mum4k/termdash/container"
"github.com/mum4k/termdash/internal/area"
"github.com/mum4k/termdash/internal/canvas/testcanvas"
"github.com/mum4k/termdash/internal/draw"
"github.com/mum4k/termdash/internal/draw/testdraw"
"github.com/mum4k/termdash/internal/faketerm"
"github.com/mum4k/termdash/internal/fakewidget"
"github.com/mum4k/termdash/linestyle" "github.com/mum4k/termdash/linestyle"
"github.com/mum4k/termdash/private/area"
"github.com/mum4k/termdash/private/canvas/testcanvas"
"github.com/mum4k/termdash/private/draw"
"github.com/mum4k/termdash/private/draw/testdraw"
"github.com/mum4k/termdash/private/faketerm"
"github.com/mum4k/termdash/private/fakewidget"
"github.com/mum4k/termdash/terminal/termbox" "github.com/mum4k/termdash/terminal/termbox"
"github.com/mum4k/termdash/widgetapi" "github.com/mum4k/termdash/widgetapi"
"github.com/mum4k/termdash/widgets/barchart" "github.com/mum4k/termdash/widgets/barchart"

View File

@ -23,8 +23,8 @@ import (
"github.com/mum4k/termdash/align" "github.com/mum4k/termdash/align"
"github.com/mum4k/termdash/cell" "github.com/mum4k/termdash/cell"
"github.com/mum4k/termdash/internal/area"
"github.com/mum4k/termdash/linestyle" "github.com/mum4k/termdash/linestyle"
"github.com/mum4k/termdash/private/area"
"github.com/mum4k/termdash/widgetapi" "github.com/mum4k/termdash/widgetapi"
) )

View File

@ -21,7 +21,7 @@ import (
"testing" "testing"
"github.com/mum4k/termdash/cell" "github.com/mum4k/termdash/cell"
"github.com/mum4k/termdash/internal/faketerm" "github.com/mum4k/termdash/private/faketerm"
) )
func TestRoot(t *testing.T) { func TestRoot(t *testing.T) {

View File

@ -21,8 +21,8 @@ import (
"strings" "strings"
"github.com/mum4k/termdash/align" "github.com/mum4k/termdash/align"
"github.com/mum4k/termdash/internal/runewidth" "github.com/mum4k/termdash/private/runewidth"
"github.com/mum4k/termdash/internal/wrap" "github.com/mum4k/termdash/private/wrap"
) )
// hAlign aligns the given area in the rectangle horizontally. // hAlign aligns the given area in the rectangle horizontally.

View File

@ -19,7 +19,7 @@ import (
"fmt" "fmt"
"image" "image"
"github.com/mum4k/termdash/internal/numbers" "github.com/mum4k/termdash/private/numbers"
) )
// Size returns the size of the provided area. // Size returns the size of the provided area.

View File

@ -46,7 +46,7 @@ import (
"image" "image"
"github.com/mum4k/termdash/cell" "github.com/mum4k/termdash/cell"
"github.com/mum4k/termdash/internal/canvas" "github.com/mum4k/termdash/private/canvas"
"github.com/mum4k/termdash/terminal/terminalapi" "github.com/mum4k/termdash/terminal/terminalapi"
) )

View File

@ -20,10 +20,10 @@ import (
"github.com/kylelemons/godebug/pretty" "github.com/kylelemons/godebug/pretty"
"github.com/mum4k/termdash/cell" "github.com/mum4k/termdash/cell"
"github.com/mum4k/termdash/internal/area" "github.com/mum4k/termdash/private/area"
"github.com/mum4k/termdash/internal/canvas" "github.com/mum4k/termdash/private/canvas"
"github.com/mum4k/termdash/internal/canvas/testcanvas" "github.com/mum4k/termdash/private/canvas/testcanvas"
"github.com/mum4k/termdash/internal/faketerm" "github.com/mum4k/termdash/private/faketerm"
) )
func Example_copiedToCanvas() { func Example_copiedToCanvas() {

View File

@ -20,9 +20,9 @@ import (
"image" "image"
"github.com/mum4k/termdash/cell" "github.com/mum4k/termdash/cell"
"github.com/mum4k/termdash/internal/canvas" "github.com/mum4k/termdash/private/canvas"
"github.com/mum4k/termdash/internal/canvas/braille" "github.com/mum4k/termdash/private/canvas/braille"
"github.com/mum4k/termdash/internal/faketerm" "github.com/mum4k/termdash/private/faketerm"
) )
// MustNew returns a new canvas or panics. // MustNew returns a new canvas or panics.

View File

@ -20,8 +20,8 @@ import (
"image" "image"
"github.com/mum4k/termdash/cell" "github.com/mum4k/termdash/cell"
"github.com/mum4k/termdash/internal/area" "github.com/mum4k/termdash/private/area"
"github.com/mum4k/termdash/internal/runewidth" "github.com/mum4k/termdash/private/runewidth"
) )
// NewCells breaks the provided text into cells and applies the options. // NewCells breaks the provided text into cells and applies the options.

View File

@ -20,9 +20,9 @@ import (
"image" "image"
"github.com/mum4k/termdash/cell" "github.com/mum4k/termdash/cell"
"github.com/mum4k/termdash/internal/area" "github.com/mum4k/termdash/private/area"
"github.com/mum4k/termdash/internal/canvas/buffer" "github.com/mum4k/termdash/private/canvas/buffer"
"github.com/mum4k/termdash/internal/runewidth" "github.com/mum4k/termdash/private/runewidth"
"github.com/mum4k/termdash/terminal/terminalapi" "github.com/mum4k/termdash/terminal/terminalapi"
) )

View File

@ -20,9 +20,9 @@ import (
"github.com/kylelemons/godebug/pretty" "github.com/kylelemons/godebug/pretty"
"github.com/mum4k/termdash/cell" "github.com/mum4k/termdash/cell"
"github.com/mum4k/termdash/internal/area" "github.com/mum4k/termdash/private/area"
"github.com/mum4k/termdash/internal/canvas/buffer" "github.com/mum4k/termdash/private/canvas/buffer"
"github.com/mum4k/termdash/internal/faketerm" "github.com/mum4k/termdash/private/faketerm"
) )
func TestNew(t *testing.T) { func TestNew(t *testing.T) {

View File

@ -20,9 +20,9 @@ import (
"image" "image"
"github.com/mum4k/termdash/cell" "github.com/mum4k/termdash/cell"
"github.com/mum4k/termdash/internal/canvas" "github.com/mum4k/termdash/private/canvas"
"github.com/mum4k/termdash/internal/canvas/buffer" "github.com/mum4k/termdash/private/canvas/buffer"
"github.com/mum4k/termdash/internal/faketerm" "github.com/mum4k/termdash/private/faketerm"
) )
// MustNew returns a new canvas or panics. // MustNew returns a new canvas or panics.

View File

@ -22,9 +22,9 @@ import (
"github.com/mum4k/termdash/align" "github.com/mum4k/termdash/align"
"github.com/mum4k/termdash/cell" "github.com/mum4k/termdash/cell"
"github.com/mum4k/termdash/internal/alignfor"
"github.com/mum4k/termdash/internal/canvas"
"github.com/mum4k/termdash/linestyle" "github.com/mum4k/termdash/linestyle"
"github.com/mum4k/termdash/private/alignfor"
"github.com/mum4k/termdash/private/canvas"
) )
// BorderOption is used to provide options to Border(). // BorderOption is used to provide options to Border().

View File

@ -20,10 +20,10 @@ import (
"github.com/mum4k/termdash/align" "github.com/mum4k/termdash/align"
"github.com/mum4k/termdash/cell" "github.com/mum4k/termdash/cell"
"github.com/mum4k/termdash/internal/canvas"
"github.com/mum4k/termdash/internal/canvas/testcanvas"
"github.com/mum4k/termdash/internal/faketerm"
"github.com/mum4k/termdash/linestyle" "github.com/mum4k/termdash/linestyle"
"github.com/mum4k/termdash/private/canvas"
"github.com/mum4k/termdash/private/canvas/testcanvas"
"github.com/mum4k/termdash/private/faketerm"
) )
func TestBorder(t *testing.T) { func TestBorder(t *testing.T) {

View File

@ -21,8 +21,8 @@ import (
"image" "image"
"github.com/mum4k/termdash/cell" "github.com/mum4k/termdash/cell"
"github.com/mum4k/termdash/internal/canvas/braille" "github.com/mum4k/termdash/private/canvas/braille"
"github.com/mum4k/termdash/internal/numbers/trig" "github.com/mum4k/termdash/private/numbers/trig"
) )
// BrailleCircleOption is used to provide options to BrailleCircle. // BrailleCircleOption is used to provide options to BrailleCircle.

View File

@ -19,10 +19,10 @@ import (
"testing" "testing"
"github.com/mum4k/termdash/cell" "github.com/mum4k/termdash/cell"
"github.com/mum4k/termdash/internal/area" "github.com/mum4k/termdash/private/area"
"github.com/mum4k/termdash/internal/canvas/braille" "github.com/mum4k/termdash/private/canvas/braille"
"github.com/mum4k/termdash/internal/canvas/braille/testbraille" "github.com/mum4k/termdash/private/canvas/braille/testbraille"
"github.com/mum4k/termdash/internal/faketerm" "github.com/mum4k/termdash/private/faketerm"
) )
// mustBrailleLine draws the braille line or panics. // mustBrailleLine draws the braille line or panics.

View File

@ -21,7 +21,7 @@ import (
"image" "image"
"github.com/mum4k/termdash/cell" "github.com/mum4k/termdash/cell"
"github.com/mum4k/termdash/internal/canvas/braille" "github.com/mum4k/termdash/private/canvas/braille"
) )
// BrailleFillOption is used to provide options to BrailleFill. // BrailleFillOption is used to provide options to BrailleFill.

View File

@ -19,10 +19,10 @@ import (
"testing" "testing"
"github.com/mum4k/termdash/cell" "github.com/mum4k/termdash/cell"
"github.com/mum4k/termdash/internal/area" "github.com/mum4k/termdash/private/area"
"github.com/mum4k/termdash/internal/canvas/braille" "github.com/mum4k/termdash/private/canvas/braille"
"github.com/mum4k/termdash/internal/canvas/braille/testbraille" "github.com/mum4k/termdash/private/canvas/braille/testbraille"
"github.com/mum4k/termdash/internal/faketerm" "github.com/mum4k/termdash/private/faketerm"
) )
func TestBrailleFill(t *testing.T) { func TestBrailleFill(t *testing.T) {

View File

@ -21,8 +21,8 @@ import (
"image" "image"
"github.com/mum4k/termdash/cell" "github.com/mum4k/termdash/cell"
"github.com/mum4k/termdash/internal/canvas/braille" "github.com/mum4k/termdash/private/canvas/braille"
"github.com/mum4k/termdash/internal/numbers" "github.com/mum4k/termdash/private/numbers"
) )
// braillePixelChange represents an action on a pixel on the braille canvas. // braillePixelChange represents an action on a pixel on the braille canvas.

View File

@ -19,10 +19,10 @@ import (
"testing" "testing"
"github.com/mum4k/termdash/cell" "github.com/mum4k/termdash/cell"
"github.com/mum4k/termdash/internal/area" "github.com/mum4k/termdash/private/area"
"github.com/mum4k/termdash/internal/canvas/braille" "github.com/mum4k/termdash/private/canvas/braille"
"github.com/mum4k/termdash/internal/canvas/braille/testbraille" "github.com/mum4k/termdash/private/canvas/braille/testbraille"
"github.com/mum4k/termdash/internal/faketerm" "github.com/mum4k/termdash/private/faketerm"
) )
func TestBrailleLine(t *testing.T) { func TestBrailleLine(t *testing.T) {

View File

@ -21,8 +21,8 @@ import (
"image" "image"
"github.com/mum4k/termdash/cell" "github.com/mum4k/termdash/cell"
"github.com/mum4k/termdash/internal/canvas"
"github.com/mum4k/termdash/linestyle" "github.com/mum4k/termdash/linestyle"
"github.com/mum4k/termdash/private/canvas"
) )
// HVLineOption is used to provide options to HVLine(). // HVLineOption is used to provide options to HVLine().

View File

@ -20,8 +20,8 @@ import (
"testing" "testing"
"github.com/kylelemons/godebug/pretty" "github.com/kylelemons/godebug/pretty"
"github.com/mum4k/termdash/internal/canvas"
"github.com/mum4k/termdash/linestyle" "github.com/mum4k/termdash/linestyle"
"github.com/mum4k/termdash/private/canvas"
) )
func TestMultiEdgeNodes(t *testing.T) { func TestMultiEdgeNodes(t *testing.T) {

View File

@ -19,10 +19,10 @@ import (
"testing" "testing"
"github.com/mum4k/termdash/cell" "github.com/mum4k/termdash/cell"
"github.com/mum4k/termdash/internal/canvas"
"github.com/mum4k/termdash/internal/canvas/testcanvas"
"github.com/mum4k/termdash/internal/faketerm"
"github.com/mum4k/termdash/linestyle" "github.com/mum4k/termdash/linestyle"
"github.com/mum4k/termdash/private/canvas"
"github.com/mum4k/termdash/private/canvas/testcanvas"
"github.com/mum4k/termdash/private/faketerm"
) )
func TestHVLines(t *testing.T) { func TestHVLines(t *testing.T) {

View File

@ -17,8 +17,8 @@ package draw
import ( import (
"fmt" "fmt"
"github.com/mum4k/termdash/internal/runewidth"
"github.com/mum4k/termdash/linestyle" "github.com/mum4k/termdash/linestyle"
"github.com/mum4k/termdash/private/runewidth"
) )
// line_style.go contains the Unicode characters used for drawing lines of // line_style.go contains the Unicode characters used for drawing lines of

View File

@ -21,7 +21,7 @@ import (
"image" "image"
"github.com/mum4k/termdash/cell" "github.com/mum4k/termdash/cell"
"github.com/mum4k/termdash/internal/canvas" "github.com/mum4k/termdash/private/canvas"
) )
// RectangleOption is used to provide options to the Rectangle function. // RectangleOption is used to provide options to the Rectangle function.

View File

@ -19,9 +19,9 @@ import (
"testing" "testing"
"github.com/mum4k/termdash/cell" "github.com/mum4k/termdash/cell"
"github.com/mum4k/termdash/internal/canvas" "github.com/mum4k/termdash/private/canvas"
"github.com/mum4k/termdash/internal/canvas/testcanvas" "github.com/mum4k/termdash/private/canvas/testcanvas"
"github.com/mum4k/termdash/internal/faketerm" "github.com/mum4k/termdash/private/faketerm"
) )
func TestRectangle(t *testing.T) { func TestRectangle(t *testing.T) {

View File

@ -19,9 +19,9 @@ import (
"fmt" "fmt"
"image" "image"
"github.com/mum4k/termdash/internal/canvas" "github.com/mum4k/termdash/private/canvas"
"github.com/mum4k/termdash/internal/canvas/braille" "github.com/mum4k/termdash/private/canvas/braille"
"github.com/mum4k/termdash/internal/draw" "github.com/mum4k/termdash/private/draw"
) )
// MustBorder draws border on the canvas or panics. // MustBorder draws border on the canvas or panics.

View File

@ -22,8 +22,8 @@ import (
"strings" "strings"
"github.com/mum4k/termdash/cell" "github.com/mum4k/termdash/cell"
"github.com/mum4k/termdash/internal/canvas" "github.com/mum4k/termdash/private/canvas"
"github.com/mum4k/termdash/internal/runewidth" "github.com/mum4k/termdash/private/runewidth"
) )
// OverrunMode represents // OverrunMode represents

View File

@ -19,9 +19,9 @@ import (
"testing" "testing"
"github.com/mum4k/termdash/cell" "github.com/mum4k/termdash/cell"
"github.com/mum4k/termdash/internal/canvas" "github.com/mum4k/termdash/private/canvas"
"github.com/mum4k/termdash/internal/canvas/testcanvas" "github.com/mum4k/termdash/private/canvas/testcanvas"
"github.com/mum4k/termdash/internal/faketerm" "github.com/mum4k/termdash/private/faketerm"
) )
func TestTrimText(t *testing.T) { func TestTrimText(t *testing.T) {

View File

@ -22,7 +22,7 @@ import (
"image" "image"
"github.com/mum4k/termdash/cell" "github.com/mum4k/termdash/cell"
"github.com/mum4k/termdash/internal/canvas" "github.com/mum4k/termdash/private/canvas"
) )
// VerticalTextOption is used to provide options to Text(). // VerticalTextOption is used to provide options to Text().

View File

@ -19,9 +19,9 @@ import (
"testing" "testing"
"github.com/mum4k/termdash/cell" "github.com/mum4k/termdash/cell"
"github.com/mum4k/termdash/internal/canvas" "github.com/mum4k/termdash/private/canvas"
"github.com/mum4k/termdash/internal/canvas/testcanvas" "github.com/mum4k/termdash/private/canvas/testcanvas"
"github.com/mum4k/termdash/internal/faketerm" "github.com/mum4k/termdash/private/faketerm"
) )
func TestVerticalText(t *testing.T) { func TestVerticalText(t *testing.T) {

View File

@ -21,7 +21,7 @@ import (
"reflect" "reflect"
"sync" "sync"
"github.com/mum4k/termdash/internal/event/eventqueue" "github.com/mum4k/termdash/private/event/eventqueue"
"github.com/mum4k/termdash/terminal/terminalapi" "github.com/mum4k/termdash/terminal/terminalapi"
) )

View File

@ -23,8 +23,8 @@ import (
"time" "time"
"github.com/kylelemons/godebug/pretty" "github.com/kylelemons/godebug/pretty"
"github.com/mum4k/termdash/internal/event/testevent"
"github.com/mum4k/termdash/keyboard" "github.com/mum4k/termdash/keyboard"
"github.com/mum4k/termdash/private/event/testevent"
"github.com/mum4k/termdash/terminal/terminalapi" "github.com/mum4k/termdash/terminal/terminalapi"
) )

View File

@ -24,8 +24,8 @@ import (
"sync" "sync"
"github.com/mum4k/termdash/cell" "github.com/mum4k/termdash/cell"
"github.com/mum4k/termdash/internal/canvas/buffer" "github.com/mum4k/termdash/private/canvas/buffer"
"github.com/mum4k/termdash/internal/event/eventqueue" "github.com/mum4k/termdash/private/event/eventqueue"
"github.com/mum4k/termdash/terminal/terminalapi" "github.com/mum4k/termdash/terminal/terminalapi"
) )

View File

@ -21,11 +21,11 @@ import (
"image" "image"
"sync" "sync"
"github.com/mum4k/termdash/internal/area"
"github.com/mum4k/termdash/internal/canvas"
"github.com/mum4k/termdash/internal/draw"
"github.com/mum4k/termdash/keyboard" "github.com/mum4k/termdash/keyboard"
"github.com/mum4k/termdash/mouse" "github.com/mum4k/termdash/mouse"
"github.com/mum4k/termdash/private/area"
"github.com/mum4k/termdash/private/canvas"
"github.com/mum4k/termdash/private/draw"
"github.com/mum4k/termdash/terminal/terminalapi" "github.com/mum4k/termdash/terminal/terminalapi"
"github.com/mum4k/termdash/widgetapi" "github.com/mum4k/termdash/widgetapi"
) )

View File

@ -19,12 +19,12 @@ import (
"testing" "testing"
"github.com/kylelemons/godebug/pretty" "github.com/kylelemons/godebug/pretty"
"github.com/mum4k/termdash/internal/canvas"
"github.com/mum4k/termdash/internal/canvas/testcanvas"
"github.com/mum4k/termdash/internal/draw/testdraw"
"github.com/mum4k/termdash/internal/faketerm"
"github.com/mum4k/termdash/keyboard" "github.com/mum4k/termdash/keyboard"
"github.com/mum4k/termdash/mouse" "github.com/mum4k/termdash/mouse"
"github.com/mum4k/termdash/private/canvas"
"github.com/mum4k/termdash/private/canvas/testcanvas"
"github.com/mum4k/termdash/private/draw/testdraw"
"github.com/mum4k/termdash/private/faketerm"
"github.com/mum4k/termdash/terminal/terminalapi" "github.com/mum4k/termdash/terminal/terminalapi"
"github.com/mum4k/termdash/widgetapi" "github.com/mum4k/termdash/widgetapi"
) )

View File

@ -21,7 +21,7 @@ import (
"math" "math"
"sort" "sort"
"github.com/mum4k/termdash/internal/numbers" "github.com/mum4k/termdash/private/numbers"
) )
// CirclePointAtAngle given an angle in degrees and a circle midpoint and // CirclePointAtAngle given an angle in degrees and a circle midpoint and

View File

@ -23,10 +23,10 @@ import (
"math" "math"
"github.com/mum4k/termdash/align" "github.com/mum4k/termdash/align"
"github.com/mum4k/termdash/internal/alignfor" "github.com/mum4k/termdash/private/alignfor"
"github.com/mum4k/termdash/internal/area" "github.com/mum4k/termdash/private/area"
"github.com/mum4k/termdash/internal/segdisp" "github.com/mum4k/termdash/private/segdisp"
"github.com/mum4k/termdash/internal/segdisp/sixteen" "github.com/mum4k/termdash/private/segdisp/sixteen"
) )
// attributes contains attributes needed to draw the segment display. // attributes contains attributes needed to draw the segment display.

View File

@ -42,9 +42,9 @@ import (
"strings" "strings"
"github.com/mum4k/termdash/cell" "github.com/mum4k/termdash/cell"
"github.com/mum4k/termdash/internal/canvas" "github.com/mum4k/termdash/private/canvas"
"github.com/mum4k/termdash/internal/segdisp" "github.com/mum4k/termdash/private/segdisp"
"github.com/mum4k/termdash/internal/segdisp/segment" "github.com/mum4k/termdash/private/segdisp/segment"
) )
// Segment represents a single segment in the display. // Segment represents a single segment in the display.

View File

@ -21,14 +21,14 @@ import (
"github.com/kylelemons/godebug/pretty" "github.com/kylelemons/godebug/pretty"
"github.com/mum4k/termdash/cell" "github.com/mum4k/termdash/cell"
"github.com/mum4k/termdash/internal/area" "github.com/mum4k/termdash/private/area"
"github.com/mum4k/termdash/internal/canvas" "github.com/mum4k/termdash/private/canvas"
"github.com/mum4k/termdash/internal/canvas/braille/testbraille" "github.com/mum4k/termdash/private/canvas/braille/testbraille"
"github.com/mum4k/termdash/internal/canvas/testcanvas" "github.com/mum4k/termdash/private/canvas/testcanvas"
"github.com/mum4k/termdash/internal/faketerm" "github.com/mum4k/termdash/private/faketerm"
"github.com/mum4k/termdash/internal/segdisp" "github.com/mum4k/termdash/private/segdisp"
"github.com/mum4k/termdash/internal/segdisp/segment" "github.com/mum4k/termdash/private/segdisp/segment"
"github.com/mum4k/termdash/internal/segdisp/segment/testsegment" "github.com/mum4k/termdash/private/segdisp/segment/testsegment"
) )
func TestSegmentString(t *testing.T) { func TestSegmentString(t *testing.T) {

View File

@ -18,8 +18,8 @@ package testdotseg
import ( import (
"fmt" "fmt"
"github.com/mum4k/termdash/internal/canvas" "github.com/mum4k/termdash/private/canvas"
"github.com/mum4k/termdash/internal/segdisp/dotseg" "github.com/mum4k/termdash/private/segdisp/dotseg"
) )
// MustSetCharacter sets the character on the display or panics. // MustSetCharacter sets the character on the display or panics.

View File

@ -20,9 +20,9 @@ import (
"image" "image"
"math" "math"
"github.com/mum4k/termdash/internal/area" "github.com/mum4k/termdash/private/area"
"github.com/mum4k/termdash/internal/canvas" "github.com/mum4k/termdash/private/canvas"
"github.com/mum4k/termdash/internal/canvas/braille" "github.com/mum4k/termdash/private/canvas/braille"
) )
// Minimum valid size of a cell canvas in order to draw a segment display. // Minimum valid size of a cell canvas in order to draw a segment display.

View File

@ -19,9 +19,9 @@ import (
"testing" "testing"
"github.com/kylelemons/godebug/pretty" "github.com/kylelemons/godebug/pretty"
"github.com/mum4k/termdash/internal/canvas" "github.com/mum4k/termdash/private/canvas"
"github.com/mum4k/termdash/internal/canvas/braille" "github.com/mum4k/termdash/private/canvas/braille"
"github.com/mum4k/termdash/internal/canvas/braille/testbraille" "github.com/mum4k/termdash/private/canvas/braille/testbraille"
) )
func TestRequired(t *testing.T) { func TestRequired(t *testing.T) {

View File

@ -20,8 +20,8 @@ import (
"image" "image"
"github.com/mum4k/termdash/cell" "github.com/mum4k/termdash/cell"
"github.com/mum4k/termdash/internal/canvas/braille" "github.com/mum4k/termdash/private/canvas/braille"
"github.com/mum4k/termdash/internal/draw" "github.com/mum4k/termdash/private/draw"
) )
// Type identifies the type of the segment that is drawn. // Type identifies the type of the segment that is drawn.

View File

@ -20,12 +20,12 @@ import (
"testing" "testing"
"github.com/mum4k/termdash/cell" "github.com/mum4k/termdash/cell"
"github.com/mum4k/termdash/internal/area" "github.com/mum4k/termdash/private/area"
"github.com/mum4k/termdash/internal/canvas/braille" "github.com/mum4k/termdash/private/canvas/braille"
"github.com/mum4k/termdash/internal/canvas/braille/testbraille" "github.com/mum4k/termdash/private/canvas/braille/testbraille"
"github.com/mum4k/termdash/internal/draw" "github.com/mum4k/termdash/private/draw"
"github.com/mum4k/termdash/internal/draw/testdraw" "github.com/mum4k/termdash/private/draw/testdraw"
"github.com/mum4k/termdash/internal/faketerm" "github.com/mum4k/termdash/private/faketerm"
) )
func TestHV(t *testing.T) { func TestHV(t *testing.T) {

View File

@ -19,8 +19,8 @@ import (
"fmt" "fmt"
"image" "image"
"github.com/mum4k/termdash/internal/canvas/braille" "github.com/mum4k/termdash/private/canvas/braille"
"github.com/mum4k/termdash/internal/segdisp/segment" "github.com/mum4k/termdash/private/segdisp/segment"
) )
// MustHV draws the segment or panics. // MustHV draws the segment or panics.

View File

@ -22,9 +22,9 @@ import (
"image" "image"
"math" "math"
"github.com/mum4k/termdash/internal/numbers" "github.com/mum4k/termdash/private/numbers"
"github.com/mum4k/termdash/internal/segdisp" "github.com/mum4k/termdash/private/segdisp"
"github.com/mum4k/termdash/internal/segdisp/segment" "github.com/mum4k/termdash/private/segdisp/segment"
) )
// hvSegType maps horizontal and vertical segments to their type. // hvSegType maps horizontal and vertical segments to their type.

View File

@ -44,9 +44,9 @@ import (
"strings" "strings"
"github.com/mum4k/termdash/cell" "github.com/mum4k/termdash/cell"
"github.com/mum4k/termdash/internal/canvas" "github.com/mum4k/termdash/private/canvas"
"github.com/mum4k/termdash/internal/segdisp" "github.com/mum4k/termdash/private/segdisp"
"github.com/mum4k/termdash/internal/segdisp/segment" "github.com/mum4k/termdash/private/segdisp/segment"
) )
// Segment represents a single segment in the display. // Segment represents a single segment in the display.

View File

@ -21,14 +21,14 @@ import (
"github.com/kylelemons/godebug/pretty" "github.com/kylelemons/godebug/pretty"
"github.com/mum4k/termdash/cell" "github.com/mum4k/termdash/cell"
"github.com/mum4k/termdash/internal/area" "github.com/mum4k/termdash/private/area"
"github.com/mum4k/termdash/internal/canvas" "github.com/mum4k/termdash/private/canvas"
"github.com/mum4k/termdash/internal/canvas/braille/testbraille" "github.com/mum4k/termdash/private/canvas/braille/testbraille"
"github.com/mum4k/termdash/internal/canvas/testcanvas" "github.com/mum4k/termdash/private/canvas/testcanvas"
"github.com/mum4k/termdash/internal/faketerm" "github.com/mum4k/termdash/private/faketerm"
"github.com/mum4k/termdash/internal/segdisp" "github.com/mum4k/termdash/private/segdisp"
"github.com/mum4k/termdash/internal/segdisp/segment" "github.com/mum4k/termdash/private/segdisp/segment"
"github.com/mum4k/termdash/internal/segdisp/segment/testsegment" "github.com/mum4k/termdash/private/segdisp/segment/testsegment"
) )
func TestDraw(t *testing.T) { func TestDraw(t *testing.T) {

View File

@ -18,8 +18,8 @@ package testsixteen
import ( import (
"fmt" "fmt"
"github.com/mum4k/termdash/internal/canvas" "github.com/mum4k/termdash/private/canvas"
"github.com/mum4k/termdash/internal/segdisp/sixteen" "github.com/mum4k/termdash/private/segdisp/sixteen"
) )
// MustSetCharacter sets the character on the display or panics. // MustSetCharacter sets the character on the display or panics.

View File

@ -21,8 +21,8 @@ import (
"strings" "strings"
"unicode" "unicode"
"github.com/mum4k/termdash/internal/canvas/buffer" "github.com/mum4k/termdash/private/canvas/buffer"
"github.com/mum4k/termdash/internal/runewidth" "github.com/mum4k/termdash/private/runewidth"
) )
// Mode sets the wrapping mode. // Mode sets the wrapping mode.

View File

@ -22,7 +22,7 @@ import (
"github.com/kylelemons/godebug/pretty" "github.com/kylelemons/godebug/pretty"
"github.com/mum4k/termdash/cell" "github.com/mum4k/termdash/cell"
"github.com/mum4k/termdash/internal/canvas/buffer" "github.com/mum4k/termdash/private/canvas/buffer"
) )
func TestValidTextAndCells(t *testing.T) { func TestValidTextAndCells(t *testing.T) {

View File

@ -31,7 +31,7 @@ import (
"time" "time"
"github.com/mum4k/termdash/container" "github.com/mum4k/termdash/container"
"github.com/mum4k/termdash/internal/event" "github.com/mum4k/termdash/private/event"
"github.com/mum4k/termdash/terminal/terminalapi" "github.com/mum4k/termdash/terminal/terminalapi"
) )

View File

@ -24,14 +24,14 @@ import (
"github.com/kylelemons/godebug/pretty" "github.com/kylelemons/godebug/pretty"
"github.com/mum4k/termdash/container" "github.com/mum4k/termdash/container"
"github.com/mum4k/termdash/internal/canvas/testcanvas"
"github.com/mum4k/termdash/internal/event"
"github.com/mum4k/termdash/internal/event/eventqueue"
"github.com/mum4k/termdash/internal/event/testevent"
"github.com/mum4k/termdash/internal/faketerm"
"github.com/mum4k/termdash/internal/fakewidget"
"github.com/mum4k/termdash/keyboard" "github.com/mum4k/termdash/keyboard"
"github.com/mum4k/termdash/mouse" "github.com/mum4k/termdash/mouse"
"github.com/mum4k/termdash/private/canvas/testcanvas"
"github.com/mum4k/termdash/private/event"
"github.com/mum4k/termdash/private/event/eventqueue"
"github.com/mum4k/termdash/private/event/testevent"
"github.com/mum4k/termdash/private/faketerm"
"github.com/mum4k/termdash/private/fakewidget"
"github.com/mum4k/termdash/terminal/termbox" "github.com/mum4k/termdash/terminal/termbox"
"github.com/mum4k/termdash/terminal/terminalapi" "github.com/mum4k/termdash/terminal/terminalapi"
"github.com/mum4k/termdash/widgetapi" "github.com/mum4k/termdash/widgetapi"

View File

@ -21,7 +21,7 @@ import (
"github.com/gdamore/tcell" "github.com/gdamore/tcell"
"github.com/gdamore/tcell/encoding" "github.com/gdamore/tcell/encoding"
"github.com/mum4k/termdash/cell" "github.com/mum4k/termdash/cell"
"github.com/mum4k/termdash/internal/event/eventqueue" "github.com/mum4k/termdash/private/event/eventqueue"
"github.com/mum4k/termdash/terminal/terminalapi" "github.com/mum4k/termdash/terminal/terminalapi"
) )

View File

@ -20,7 +20,7 @@ import (
"image" "image"
"github.com/mum4k/termdash/cell" "github.com/mum4k/termdash/cell"
"github.com/mum4k/termdash/internal/event/eventqueue" "github.com/mum4k/termdash/private/event/eventqueue"
"github.com/mum4k/termdash/terminal/terminalapi" "github.com/mum4k/termdash/terminal/terminalapi"
tbx "github.com/nsf/termbox-go" tbx "github.com/nsf/termbox-go"
) )

View File

@ -18,7 +18,7 @@ package widgetapi
import ( import (
"image" "image"
"github.com/mum4k/termdash/internal/canvas" "github.com/mum4k/termdash/private/canvas"
"github.com/mum4k/termdash/terminal/terminalapi" "github.com/mum4k/termdash/terminal/terminalapi"
) )

View File

@ -25,10 +25,10 @@ import (
"github.com/mum4k/termdash/align" "github.com/mum4k/termdash/align"
"github.com/mum4k/termdash/cell" "github.com/mum4k/termdash/cell"
"github.com/mum4k/termdash/internal/alignfor" "github.com/mum4k/termdash/private/alignfor"
"github.com/mum4k/termdash/internal/area" "github.com/mum4k/termdash/private/area"
"github.com/mum4k/termdash/internal/canvas" "github.com/mum4k/termdash/private/canvas"
"github.com/mum4k/termdash/internal/draw" "github.com/mum4k/termdash/private/draw"
"github.com/mum4k/termdash/terminal/terminalapi" "github.com/mum4k/termdash/terminal/terminalapi"
"github.com/mum4k/termdash/widgetapi" "github.com/mum4k/termdash/widgetapi"
) )

View File

@ -20,11 +20,11 @@ import (
"github.com/kylelemons/godebug/pretty" "github.com/kylelemons/godebug/pretty"
"github.com/mum4k/termdash/cell" "github.com/mum4k/termdash/cell"
"github.com/mum4k/termdash/internal/canvas" "github.com/mum4k/termdash/private/canvas"
"github.com/mum4k/termdash/internal/canvas/testcanvas" "github.com/mum4k/termdash/private/canvas/testcanvas"
"github.com/mum4k/termdash/internal/draw" "github.com/mum4k/termdash/private/draw"
"github.com/mum4k/termdash/internal/draw/testdraw" "github.com/mum4k/termdash/private/draw/testdraw"
"github.com/mum4k/termdash/internal/faketerm" "github.com/mum4k/termdash/private/faketerm"
"github.com/mum4k/termdash/widgetapi" "github.com/mum4k/termdash/widgetapi"
) )

View File

@ -20,7 +20,7 @@ import (
"fmt" "fmt"
"github.com/mum4k/termdash/cell" "github.com/mum4k/termdash/cell"
"github.com/mum4k/termdash/internal/draw" "github.com/mum4k/termdash/private/draw"
) )
// Option is used to provide options. // Option is used to provide options.

View File

@ -24,11 +24,11 @@ import (
"github.com/mum4k/termdash/align" "github.com/mum4k/termdash/align"
"github.com/mum4k/termdash/cell" "github.com/mum4k/termdash/cell"
"github.com/mum4k/termdash/internal/alignfor"
"github.com/mum4k/termdash/internal/button"
"github.com/mum4k/termdash/internal/canvas"
"github.com/mum4k/termdash/internal/draw"
"github.com/mum4k/termdash/mouse" "github.com/mum4k/termdash/mouse"
"github.com/mum4k/termdash/private/alignfor"
"github.com/mum4k/termdash/private/button"
"github.com/mum4k/termdash/private/canvas"
"github.com/mum4k/termdash/private/draw"
"github.com/mum4k/termdash/terminal/terminalapi" "github.com/mum4k/termdash/terminal/terminalapi"
"github.com/mum4k/termdash/widgetapi" "github.com/mum4k/termdash/widgetapi"
) )

View File

@ -23,13 +23,13 @@ import (
"github.com/kylelemons/godebug/pretty" "github.com/kylelemons/godebug/pretty"
"github.com/mum4k/termdash/cell" "github.com/mum4k/termdash/cell"
"github.com/mum4k/termdash/internal/canvas"
"github.com/mum4k/termdash/internal/canvas/testcanvas"
"github.com/mum4k/termdash/internal/draw"
"github.com/mum4k/termdash/internal/draw/testdraw"
"github.com/mum4k/termdash/internal/faketerm"
"github.com/mum4k/termdash/keyboard" "github.com/mum4k/termdash/keyboard"
"github.com/mum4k/termdash/mouse" "github.com/mum4k/termdash/mouse"
"github.com/mum4k/termdash/private/canvas"
"github.com/mum4k/termdash/private/canvas/testcanvas"
"github.com/mum4k/termdash/private/draw"
"github.com/mum4k/termdash/private/draw/testdraw"
"github.com/mum4k/termdash/private/faketerm"
"github.com/mum4k/termdash/terminal/terminalapi" "github.com/mum4k/termdash/terminal/terminalapi"
"github.com/mum4k/termdash/widgetapi" "github.com/mum4k/termdash/widgetapi"
) )

View File

@ -21,8 +21,8 @@ import (
"time" "time"
"github.com/mum4k/termdash/cell" "github.com/mum4k/termdash/cell"
"github.com/mum4k/termdash/internal/runewidth"
"github.com/mum4k/termdash/keyboard" "github.com/mum4k/termdash/keyboard"
"github.com/mum4k/termdash/private/runewidth"
"github.com/mum4k/termdash/widgetapi" "github.com/mum4k/termdash/widgetapi"
) )

View File

@ -20,7 +20,7 @@ import (
"image" "image"
"math" "math"
"github.com/mum4k/termdash/internal/canvas/braille" "github.com/mum4k/termdash/private/canvas/braille"
) )
// startEndAngles given progress indicators and the desired start angle and // startEndAngles given progress indicators and the desired start angle and

View File

@ -24,12 +24,12 @@ import (
"sync" "sync"
"github.com/mum4k/termdash/align" "github.com/mum4k/termdash/align"
"github.com/mum4k/termdash/internal/alignfor" "github.com/mum4k/termdash/private/alignfor"
"github.com/mum4k/termdash/internal/area" "github.com/mum4k/termdash/private/area"
"github.com/mum4k/termdash/internal/canvas" "github.com/mum4k/termdash/private/canvas"
"github.com/mum4k/termdash/internal/canvas/braille" "github.com/mum4k/termdash/private/canvas/braille"
"github.com/mum4k/termdash/internal/draw" "github.com/mum4k/termdash/private/draw"
"github.com/mum4k/termdash/internal/runewidth" "github.com/mum4k/termdash/private/runewidth"
"github.com/mum4k/termdash/terminal/terminalapi" "github.com/mum4k/termdash/terminal/terminalapi"
"github.com/mum4k/termdash/widgetapi" "github.com/mum4k/termdash/widgetapi"
) )

View File

@ -21,12 +21,12 @@ import (
"github.com/kylelemons/godebug/pretty" "github.com/kylelemons/godebug/pretty"
"github.com/mum4k/termdash/align" "github.com/mum4k/termdash/align"
"github.com/mum4k/termdash/cell" "github.com/mum4k/termdash/cell"
"github.com/mum4k/termdash/internal/canvas" "github.com/mum4k/termdash/private/canvas"
"github.com/mum4k/termdash/internal/canvas/braille/testbraille" "github.com/mum4k/termdash/private/canvas/braille/testbraille"
"github.com/mum4k/termdash/internal/canvas/testcanvas" "github.com/mum4k/termdash/private/canvas/testcanvas"
"github.com/mum4k/termdash/internal/draw" "github.com/mum4k/termdash/private/draw"
"github.com/mum4k/termdash/internal/draw/testdraw" "github.com/mum4k/termdash/private/draw/testdraw"
"github.com/mum4k/termdash/internal/faketerm" "github.com/mum4k/termdash/private/faketerm"
"github.com/mum4k/termdash/terminal/terminalapi" "github.com/mum4k/termdash/terminal/terminalapi"
"github.com/mum4k/termdash/widgetapi" "github.com/mum4k/termdash/widgetapi"
) )

View File

@ -23,12 +23,12 @@ import (
"sync" "sync"
"github.com/mum4k/termdash/cell" "github.com/mum4k/termdash/cell"
"github.com/mum4k/termdash/internal/alignfor"
"github.com/mum4k/termdash/internal/area"
"github.com/mum4k/termdash/internal/canvas"
"github.com/mum4k/termdash/internal/draw"
"github.com/mum4k/termdash/internal/runewidth"
"github.com/mum4k/termdash/linestyle" "github.com/mum4k/termdash/linestyle"
"github.com/mum4k/termdash/private/alignfor"
"github.com/mum4k/termdash/private/area"
"github.com/mum4k/termdash/private/canvas"
"github.com/mum4k/termdash/private/draw"
"github.com/mum4k/termdash/private/runewidth"
"github.com/mum4k/termdash/terminal/terminalapi" "github.com/mum4k/termdash/terminal/terminalapi"
"github.com/mum4k/termdash/widgetapi" "github.com/mum4k/termdash/widgetapi"
) )

View File

@ -22,12 +22,12 @@ import (
"github.com/kylelemons/godebug/pretty" "github.com/kylelemons/godebug/pretty"
"github.com/mum4k/termdash/align" "github.com/mum4k/termdash/align"
"github.com/mum4k/termdash/cell" "github.com/mum4k/termdash/cell"
"github.com/mum4k/termdash/internal/canvas"
"github.com/mum4k/termdash/internal/canvas/testcanvas"
"github.com/mum4k/termdash/internal/draw"
"github.com/mum4k/termdash/internal/draw/testdraw"
"github.com/mum4k/termdash/internal/faketerm"
"github.com/mum4k/termdash/linestyle" "github.com/mum4k/termdash/linestyle"
"github.com/mum4k/termdash/private/canvas"
"github.com/mum4k/termdash/private/canvas/testcanvas"
"github.com/mum4k/termdash/private/draw"
"github.com/mum4k/termdash/private/draw/testdraw"
"github.com/mum4k/termdash/private/faketerm"
"github.com/mum4k/termdash/terminal/terminalapi" "github.com/mum4k/termdash/terminal/terminalapi"
"github.com/mum4k/termdash/widgetapi" "github.com/mum4k/termdash/widgetapi"
) )

View File

@ -21,8 +21,8 @@ import (
"github.com/mum4k/termdash/align" "github.com/mum4k/termdash/align"
"github.com/mum4k/termdash/cell" "github.com/mum4k/termdash/cell"
"github.com/mum4k/termdash/internal/draw"
"github.com/mum4k/termdash/linestyle" "github.com/mum4k/termdash/linestyle"
"github.com/mum4k/termdash/private/draw"
) )
// Option is used to provide options. // Option is used to provide options.

View File

@ -19,7 +19,7 @@ import (
"fmt" "fmt"
"image" "image"
"github.com/mum4k/termdash/internal/runewidth" "github.com/mum4k/termdash/private/runewidth"
) )
const ( const (

View File

@ -21,7 +21,7 @@ import (
"image" "image"
"github.com/mum4k/termdash/align" "github.com/mum4k/termdash/align"
"github.com/mum4k/termdash/internal/alignfor" "github.com/mum4k/termdash/private/alignfor"
) )
// LabelOrientation represents the orientation of text labels. // LabelOrientation represents the orientation of text labels.

View File

@ -20,7 +20,7 @@ import (
"fmt" "fmt"
"math" "math"
"github.com/mum4k/termdash/internal/canvas/braille" "github.com/mum4k/termdash/private/canvas/braille"
) )
// YScaleMode determines whether the Y scale is anchored to the zero value. // YScaleMode determines whether the Y scale is anchored to the zero value.

View File

@ -20,7 +20,7 @@ import (
"fmt" "fmt"
"math" "math"
"github.com/mum4k/termdash/internal/numbers" "github.com/mum4k/termdash/private/numbers"
) )
// ValueOption is used to provide options to the NewValue function. // ValueOption is used to provide options to the NewValue function.

View File

@ -20,9 +20,9 @@ import (
"image" "image"
"reflect" "reflect"
"github.com/mum4k/termdash/internal/button"
"github.com/mum4k/termdash/internal/numbers"
"github.com/mum4k/termdash/mouse" "github.com/mum4k/termdash/mouse"
"github.com/mum4k/termdash/private/button"
"github.com/mum4k/termdash/private/numbers"
"github.com/mum4k/termdash/terminal/terminalapi" "github.com/mum4k/termdash/terminal/terminalapi"
"github.com/mum4k/termdash/widgets/linechart/internal/axes" "github.com/mum4k/termdash/widgets/linechart/internal/axes"
) )

View File

@ -24,11 +24,11 @@ import (
"sync" "sync"
"github.com/mum4k/termdash/cell" "github.com/mum4k/termdash/cell"
"github.com/mum4k/termdash/internal/area" "github.com/mum4k/termdash/private/area"
"github.com/mum4k/termdash/internal/canvas" "github.com/mum4k/termdash/private/canvas"
"github.com/mum4k/termdash/internal/canvas/braille" "github.com/mum4k/termdash/private/canvas/braille"
"github.com/mum4k/termdash/internal/draw" "github.com/mum4k/termdash/private/draw"
"github.com/mum4k/termdash/internal/numbers" "github.com/mum4k/termdash/private/numbers"
"github.com/mum4k/termdash/terminal/terminalapi" "github.com/mum4k/termdash/terminal/terminalapi"
"github.com/mum4k/termdash/widgetapi" "github.com/mum4k/termdash/widgetapi"
"github.com/mum4k/termdash/widgets/linechart/internal/axes" "github.com/mum4k/termdash/widgets/linechart/internal/axes"

View File

@ -22,13 +22,13 @@ import (
"github.com/kylelemons/godebug/pretty" "github.com/kylelemons/godebug/pretty"
"github.com/mum4k/termdash/cell" "github.com/mum4k/termdash/cell"
"github.com/mum4k/termdash/internal/canvas"
"github.com/mum4k/termdash/internal/canvas/braille/testbraille"
"github.com/mum4k/termdash/internal/canvas/testcanvas"
"github.com/mum4k/termdash/internal/draw"
"github.com/mum4k/termdash/internal/draw/testdraw"
"github.com/mum4k/termdash/internal/faketerm"
"github.com/mum4k/termdash/mouse" "github.com/mum4k/termdash/mouse"
"github.com/mum4k/termdash/private/canvas"
"github.com/mum4k/termdash/private/canvas/braille/testbraille"
"github.com/mum4k/termdash/private/canvas/testcanvas"
"github.com/mum4k/termdash/private/draw"
"github.com/mum4k/termdash/private/draw/testdraw"
"github.com/mum4k/termdash/private/faketerm"
"github.com/mum4k/termdash/terminal/terminalapi" "github.com/mum4k/termdash/terminal/terminalapi"
"github.com/mum4k/termdash/widgetapi" "github.com/mum4k/termdash/widgetapi"
) )

View File

@ -21,7 +21,7 @@ import (
"fmt" "fmt"
"image" "image"
"github.com/mum4k/termdash/internal/segdisp" "github.com/mum4k/termdash/private/segdisp"
) )
// segArea contains information about the area that will contain the segments. // segArea contains information about the area that will contain the segments.

View File

@ -23,12 +23,12 @@ import (
"strings" "strings"
"sync" "sync"
"github.com/mum4k/termdash/internal/alignfor" "github.com/mum4k/termdash/private/alignfor"
"github.com/mum4k/termdash/internal/attrrange" "github.com/mum4k/termdash/private/attrrange"
"github.com/mum4k/termdash/internal/canvas" "github.com/mum4k/termdash/private/canvas"
"github.com/mum4k/termdash/internal/segdisp" "github.com/mum4k/termdash/private/segdisp"
"github.com/mum4k/termdash/internal/segdisp/dotseg" "github.com/mum4k/termdash/private/segdisp/dotseg"
"github.com/mum4k/termdash/internal/segdisp/sixteen" "github.com/mum4k/termdash/private/segdisp/sixteen"
"github.com/mum4k/termdash/terminal/terminalapi" "github.com/mum4k/termdash/terminal/terminalapi"
"github.com/mum4k/termdash/widgetapi" "github.com/mum4k/termdash/widgetapi"
) )

View File

@ -21,14 +21,14 @@ import (
"github.com/kylelemons/godebug/pretty" "github.com/kylelemons/godebug/pretty"
"github.com/mum4k/termdash/align" "github.com/mum4k/termdash/align"
"github.com/mum4k/termdash/cell" "github.com/mum4k/termdash/cell"
"github.com/mum4k/termdash/internal/canvas" "github.com/mum4k/termdash/private/canvas"
"github.com/mum4k/termdash/internal/canvas/testcanvas" "github.com/mum4k/termdash/private/canvas/testcanvas"
"github.com/mum4k/termdash/internal/faketerm" "github.com/mum4k/termdash/private/faketerm"
"github.com/mum4k/termdash/internal/segdisp" "github.com/mum4k/termdash/private/segdisp"
"github.com/mum4k/termdash/internal/segdisp/dotseg" "github.com/mum4k/termdash/private/segdisp/dotseg"
"github.com/mum4k/termdash/internal/segdisp/dotseg/testdotseg" "github.com/mum4k/termdash/private/segdisp/dotseg/testdotseg"
"github.com/mum4k/termdash/internal/segdisp/sixteen" "github.com/mum4k/termdash/private/segdisp/sixteen"
"github.com/mum4k/termdash/internal/segdisp/sixteen/testsixteen" "github.com/mum4k/termdash/private/segdisp/sixteen/testsixteen"
"github.com/mum4k/termdash/terminal/terminalapi" "github.com/mum4k/termdash/terminal/terminalapi"
"github.com/mum4k/termdash/widgetapi" "github.com/mum4k/termdash/widgetapi"
) )

View File

@ -22,9 +22,9 @@ import (
"sync" "sync"
"github.com/mum4k/termdash/cell" "github.com/mum4k/termdash/cell"
"github.com/mum4k/termdash/internal/area" "github.com/mum4k/termdash/private/area"
"github.com/mum4k/termdash/internal/canvas" "github.com/mum4k/termdash/private/canvas"
"github.com/mum4k/termdash/internal/draw" "github.com/mum4k/termdash/private/draw"
"github.com/mum4k/termdash/terminal/terminalapi" "github.com/mum4k/termdash/terminal/terminalapi"
"github.com/mum4k/termdash/widgetapi" "github.com/mum4k/termdash/widgetapi"
) )

View File

@ -20,11 +20,11 @@ import (
"github.com/kylelemons/godebug/pretty" "github.com/kylelemons/godebug/pretty"
"github.com/mum4k/termdash/cell" "github.com/mum4k/termdash/cell"
"github.com/mum4k/termdash/internal/canvas" "github.com/mum4k/termdash/private/canvas"
"github.com/mum4k/termdash/internal/canvas/testcanvas" "github.com/mum4k/termdash/private/canvas/testcanvas"
"github.com/mum4k/termdash/internal/draw" "github.com/mum4k/termdash/private/draw"
"github.com/mum4k/termdash/internal/draw/testdraw" "github.com/mum4k/termdash/private/draw/testdraw"
"github.com/mum4k/termdash/internal/faketerm" "github.com/mum4k/termdash/private/faketerm"
"github.com/mum4k/termdash/widgetapi" "github.com/mum4k/termdash/widgetapi"
) )

View File

@ -21,7 +21,7 @@ import (
"fmt" "fmt"
"math" "math"
"github.com/mum4k/termdash/internal/runewidth" "github.com/mum4k/termdash/private/runewidth"
) )
// sparks are the characters used to draw the SparkLine. // sparks are the characters used to draw the SparkLine.

View File

@ -18,9 +18,9 @@ import (
"fmt" "fmt"
"image" "image"
"github.com/mum4k/termdash/internal/canvas" "github.com/mum4k/termdash/private/canvas"
"github.com/mum4k/termdash/internal/runewidth" "github.com/mum4k/termdash/private/runewidth"
"github.com/mum4k/termdash/internal/wrap" "github.com/mum4k/termdash/private/wrap"
) )
// line_trim.go contains code that trims lines that are too long. // line_trim.go contains code that trims lines that are too long.

View File

@ -19,11 +19,11 @@ import (
"testing" "testing"
"github.com/kylelemons/godebug/pretty" "github.com/kylelemons/godebug/pretty"
"github.com/mum4k/termdash/internal/canvas" "github.com/mum4k/termdash/private/canvas"
"github.com/mum4k/termdash/internal/canvas/testcanvas" "github.com/mum4k/termdash/private/canvas/testcanvas"
"github.com/mum4k/termdash/internal/draw/testdraw" "github.com/mum4k/termdash/private/draw/testdraw"
"github.com/mum4k/termdash/internal/faketerm" "github.com/mum4k/termdash/private/faketerm"
"github.com/mum4k/termdash/internal/wrap" "github.com/mum4k/termdash/private/wrap"
) )
func TestLineTrim(t *testing.T) { func TestLineTrim(t *testing.T) {

View File

@ -17,9 +17,9 @@ package text
import ( import (
"fmt" "fmt"
"github.com/mum4k/termdash/internal/wrap"
"github.com/mum4k/termdash/keyboard" "github.com/mum4k/termdash/keyboard"
"github.com/mum4k/termdash/mouse" "github.com/mum4k/termdash/mouse"
"github.com/mum4k/termdash/private/wrap"
) )
// options.go contains configurable options for Text. // options.go contains configurable options for Text.

View File

@ -20,9 +20,9 @@ import (
"image" "image"
"sync" "sync"
"github.com/mum4k/termdash/internal/canvas" "github.com/mum4k/termdash/private/canvas"
"github.com/mum4k/termdash/internal/canvas/buffer" "github.com/mum4k/termdash/private/canvas/buffer"
"github.com/mum4k/termdash/internal/wrap" "github.com/mum4k/termdash/private/wrap"
"github.com/mum4k/termdash/terminal/terminalapi" "github.com/mum4k/termdash/terminal/terminalapi"
"github.com/mum4k/termdash/widgetapi" "github.com/mum4k/termdash/widgetapi"
) )

View File

@ -20,13 +20,13 @@ import (
"github.com/kylelemons/godebug/pretty" "github.com/kylelemons/godebug/pretty"
"github.com/mum4k/termdash/cell" "github.com/mum4k/termdash/cell"
"github.com/mum4k/termdash/internal/canvas"
"github.com/mum4k/termdash/internal/canvas/testcanvas"
"github.com/mum4k/termdash/internal/draw"
"github.com/mum4k/termdash/internal/draw/testdraw"
"github.com/mum4k/termdash/internal/faketerm"
"github.com/mum4k/termdash/keyboard" "github.com/mum4k/termdash/keyboard"
"github.com/mum4k/termdash/mouse" "github.com/mum4k/termdash/mouse"
"github.com/mum4k/termdash/private/canvas"
"github.com/mum4k/termdash/private/canvas/testcanvas"
"github.com/mum4k/termdash/private/draw"
"github.com/mum4k/termdash/private/draw/testdraw"
"github.com/mum4k/termdash/private/faketerm"
"github.com/mum4k/termdash/terminal/terminalapi" "github.com/mum4k/termdash/terminal/terminalapi"
"github.com/mum4k/termdash/widgetapi" "github.com/mum4k/termdash/widgetapi"
) )

View File

@ -20,8 +20,8 @@ import (
"fmt" "fmt"
"strings" "strings"
"github.com/mum4k/termdash/internal/numbers" "github.com/mum4k/termdash/private/numbers"
"github.com/mum4k/termdash/internal/runewidth" "github.com/mum4k/termdash/private/runewidth"
) )
// fieldData are the data currently present inside the text input field. // fieldData are the data currently present inside the text input field.

View File

@ -21,9 +21,9 @@ import (
"github.com/mum4k/termdash/align" "github.com/mum4k/termdash/align"
"github.com/mum4k/termdash/cell" "github.com/mum4k/termdash/cell"
"github.com/mum4k/termdash/internal/runewidth"
"github.com/mum4k/termdash/internal/wrap"
"github.com/mum4k/termdash/linestyle" "github.com/mum4k/termdash/linestyle"
"github.com/mum4k/termdash/private/runewidth"
"github.com/mum4k/termdash/private/wrap"
) )
// Option is used to provide options. // Option is used to provide options.

View File

@ -22,15 +22,15 @@ import (
"github.com/mum4k/termdash/align" "github.com/mum4k/termdash/align"
"github.com/mum4k/termdash/cell" "github.com/mum4k/termdash/cell"
"github.com/mum4k/termdash/internal/alignfor"
"github.com/mum4k/termdash/internal/area"
"github.com/mum4k/termdash/internal/canvas"
"github.com/mum4k/termdash/internal/draw"
"github.com/mum4k/termdash/internal/runewidth"
"github.com/mum4k/termdash/internal/wrap"
"github.com/mum4k/termdash/keyboard" "github.com/mum4k/termdash/keyboard"
"github.com/mum4k/termdash/linestyle" "github.com/mum4k/termdash/linestyle"
"github.com/mum4k/termdash/mouse" "github.com/mum4k/termdash/mouse"
"github.com/mum4k/termdash/private/alignfor"
"github.com/mum4k/termdash/private/area"
"github.com/mum4k/termdash/private/canvas"
"github.com/mum4k/termdash/private/draw"
"github.com/mum4k/termdash/private/runewidth"
"github.com/mum4k/termdash/private/wrap"
"github.com/mum4k/termdash/terminal/terminalapi" "github.com/mum4k/termdash/terminal/terminalapi"
"github.com/mum4k/termdash/widgetapi" "github.com/mum4k/termdash/widgetapi"
) )

View File

@ -23,14 +23,14 @@ import (
"github.com/kylelemons/godebug/pretty" "github.com/kylelemons/godebug/pretty"
"github.com/mum4k/termdash/align" "github.com/mum4k/termdash/align"
"github.com/mum4k/termdash/cell" "github.com/mum4k/termdash/cell"
"github.com/mum4k/termdash/internal/canvas"
"github.com/mum4k/termdash/internal/canvas/testcanvas"
"github.com/mum4k/termdash/internal/draw"
"github.com/mum4k/termdash/internal/draw/testdraw"
"github.com/mum4k/termdash/internal/faketerm"
"github.com/mum4k/termdash/keyboard" "github.com/mum4k/termdash/keyboard"
"github.com/mum4k/termdash/linestyle" "github.com/mum4k/termdash/linestyle"
"github.com/mum4k/termdash/mouse" "github.com/mum4k/termdash/mouse"
"github.com/mum4k/termdash/private/canvas"
"github.com/mum4k/termdash/private/canvas/testcanvas"
"github.com/mum4k/termdash/private/draw"
"github.com/mum4k/termdash/private/draw/testdraw"
"github.com/mum4k/termdash/private/faketerm"
"github.com/mum4k/termdash/terminal/terminalapi" "github.com/mum4k/termdash/terminal/terminalapi"
"github.com/mum4k/termdash/widgetapi" "github.com/mum4k/termdash/widgetapi"
) )