{"repo":"mayuki/Kurukuru","free":true,"listed":false,"github":"https://github.com/mayuki/Kurukuru","clone":"git clone https://github.com/mayuki/Kurukuru.git","description":"Terminal Spinner for .NET platform","language":"C#","stars":679,"topics":["c-sharp","dotnet","cli","command-line"],"license":"MIT","category":"cli-tools","readme_excerpt":"Kurukuru Terminal Spinner library for .NET platform (.NET Framework, .NET Standard, .NET 5). strongly inspired by cli-spinners, ora, CLISpinner. Features Aware non-Unicode codepage on Windows environment. When running on terminal using non-Unicode codepages (e.g. CP437:EN-US, CP932:JA-JP), the library will render using ASCII-characters spinner by default. - fig. Left:Command Prompt (CP932) / Right:mintty (UTF-8 on Linux) NOTE: Sadly, today's almost Windows are configured as using non-Unicode (UTF-8) code page and \"Command Prompt\" doesn't support font fallback yet.☹ If you want to see non-ASCII spinners, you can change the code page either by System.Console.OutputEncoding = System.Text.Encoding.UTF8 or by running chcp 65001 command and then use ConEmu or mintty to display the fallback font. - See: Screenshot: cmd vs ConEmu on Windows 10(EN-US) Disable spinner automatically when running on a non-interactive context in which stdout is redirected. For example, you can see just a result text when runs on CI. Install Package Manager Console dotnet command Usage Just add using Kurukuru; then call Spinner.Start with some delegate. You can also use async method pattern. Use StartAsync method. API Kurukuru.Spinner class Static Members - Start / StartAsync : Create and start new spinner. And it waits specified action. - void Start(string text, Action action, Pattern pattern = null, Pattern fallbackPattern = null) - void Start(string text, Action action, Pattern pattern = null, Pattern f","default_branch":null,"files":null,"tree":[],"storefront":"/r/mayuki","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mayuki/Kurukuru/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}