Skip to content

Commit

Permalink
docs: autoupdate
Browse files Browse the repository at this point in the history
  • Loading branch information
MarvinJWendt committed Jun 4, 2022
1 parent 5b50ff4 commit e0908d4
Showing 1 changed file with 19 additions and 4 deletions.
23 changes: 19 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</a>

<a href="https://codecov.io/gh/atomicgo/cursor">
<!-- unittestcount:start --><img src="https://img.shields.io/badge/Unit_Tests-3-magenta?style=flat-square" alt="Unit test count"><!-- unittestcount:end -->
<!-- unittestcount:start --><img src="https://img.shields.io/badge/Unit_Tests-2-magenta?style=flat-square" alt="Unit test count"><!-- unittestcount:end -->
</a>

<a href="https://github.com/atomicgo/cursor/issues">
Expand Down Expand Up @@ -51,7 +51,7 @@
<tbody>
<td align="center">
<img width="2000" height="0"><br>
---------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------
<img width="2000" height="0">
</td>
</tbody>
Expand All @@ -63,7 +63,7 @@
<tbody>
<td align="center">
<img width="2000" height="0"><br>
---------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------
<img width="2000" height="0">
</td>
</tbody>
Expand Down Expand Up @@ -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).
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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) &nbsp;&middot;&nbsp;
Expand Down

0 comments on commit e0908d4

Please sign in to comment.