Git Product home page Git Product logo

cursor's Introduction

AtomicGo


AtomicGo Libraries | Conventions | Contributing


AtomicGo is a collection of small Go libraries, which help you to code faster and more efficient!

AtomicGo

Clone all repos

Use this bash script to clone all atomicgo repos.
Useful for atomicgo contributors.

#!/bin/bash

# GitHub organization name
ORG="atomicgo"

# GitHub API URL to get the list of repositories
API_URL="https://api.github.com/orgs/$ORG/repos?per_page=100"

# Fetch all repository names
repos=$(curl -s $API_URL | jq -r '.[].clone_url')

# Clone each repository
for repo in $repos; do
    git clone $repo
done

cursor's People

Contributors

brookke avatar lammel avatar marvinjwendt avatar ruudk avatar willmadison avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

cursor's Issues

windows != cmd

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.

Case in point; git for windows ships with a bash for windows, which many developers tend to use.

Don't write ANSI escape codes when writer is not a terminal.

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()
}

$ go run main.go > hello.txt

If you open hello.txt you'll see

\x1B[?25lHello World!\x1B[?25h

If the writer is not a terminal, the ANSI escape sequences shouldn't be written.

This is also the cause for pterm/pterm#518

Can't install this library using "go get" command (error: module declares its path as: atomicgo.dev/cursor but was required as: github.com/atomicgo/cursor )

I found this library useful for my current project but I am getting error while installing this lib using "go get" command and I also changed the module name of the library and tried installing but the error doesn't go away So now I am looking for a possible solution.

(error: module declares its path as: atomicgo.dev/cursor but was required as: github.com/atomicgo/cursor )

GoLang version : 1.19
OS: Windows 10

Thank you ๐Ÿ˜Š.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.