diff --git a/README.md b/README.md index 6075889..e879d69 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ -Unit test count +Unit test count @@ -51,7 +51,7 @@
- --------------------------------------------------------------------------------------------------------------------------- + ----------------------------------------------------------------------------------------------------- @@ -63,7 +63,7 @@
- --------------------------------------------------------------------------------------------------------------------------- + ----------------------------------------------------------------------------------------------------- @@ -169,7 +169,7 @@ position. #### func SetTarget ```go -func SetTarget(w io.Writer) +func SetTarget(w Writer) ``` SetTarget allows for any arbitrary io.Writer to be used for cursor movement (will not work on Windows). @@ -206,6 +206,12 @@ func StartOfLineUp(n int) StartOfLineUp moves the cursor up by n lines, then moves to cursor to the start of the line. +#### func TestCustomIOWriter + +```go +func TestCustomIOWriter(t *testing.T) +``` + #### func Up ```go @@ -251,6 +257,15 @@ func (area *Area) Update(content string) ``` Update overwrites the content of the Area. +#### type Writer + +```go +type Writer interface { + io.Writer + Fd() uintptr +} +``` + --- > [AtomicGo.dev](https://atomicgo.dev)  ·