<commit_before>getch
=====

`getch` is the library for the programming language Go for Windows,
to get key from console.

	fmt.Print("Hit any key: ")
	rune1, scan1, shift1 := getch.Full()

	fmt.Printf("\n%c %08X %08X %08X\n", rune1, rune1, scan1, shift1)

	fmt.Print("Hit any key: ")
	rune1 = getch.Rune()
	fmt.Printf("\n%c %08X\n", rune1, rune1)
<commit_msg>Update readme.md for latest spec.<commit_after>go-getch
=========

`go-getch` is a library to read the console-event 
(keyboard-hits or screen-resize),
for the programming language Go for Windows,

Example:

    package main

    import (
        ".."
        "fmt"
    )

    const COUNT = 5

    func main() {
        for i := 0; i < COUNT; i++ {
            fmt.Printf("[%d/%d] ", i+1, COUNT)
            e := getch.All()
            if k := e.Key; k != nil {
                fmt.Printf("\n%c %08X %08X %08X\n",
                    k.Rune, k.Rune, k.Scan, k.Shift)
            } else if r := e.Resize; r != nil {
                fmt.Printf("\nWidth=%d Height=%d\n", r.Width, r.Height)
            } else {
                fmt.Println("\n(unknown event)")
            }
        }
    }

- `go-getch` supports the surrogate pair of Unicode.
- `go-getch` is used in Windows CUI Shell [NYAGOS](https://github.com/zetamatta/nyagos)

{'fraction_non_alphanumeric': 0.15396113602391628, 'fraction_numerical': 0.020179372197309416, 'mean_word_length': 1.8550106609808101, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3243226', 'n_tokens_mistral': 505, 'n_tokens_neox': 467, 'n_words': 126}