cursor icon indicating copy to clipboard operation
cursor copied to clipboard

🖱️ Go module to move the terminal cursor in any direction on every operating system.

Results 5 cursor issues
Sort by recently updated
recently updated
newest added

ANSI escape codes should only be written when the `writer` is a terminal. This is important when the output is redirect to a file for example. This would solve https://github.com/atomicgo/cursor/issues/24

### Description Cursor should check if the writer is a terminal or not, before writing the control characters. ### To Reproduce ``` func main() { cursor.Hide() fmt.Print("Hello World!") cursor.Show() }...

Make the area use the default cursor writer so that if the default cursor is set, then its write is used within the area writer. I'm pretty sure this is...

This library seems to assume that Windows users by definition only use cmd.exe. It would be nice if one could instrument it in a way that doesn't make this assumption....

In Terminal window with the height of 10 - what's the expected result? ``` n := 50 for i := 0; i < n; i++ { fmt.Printf("foo-%d\n", i) } cursor.Up(n)...