Skip to content

GRMakoto/readkey.h

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

readkey.h

Simple single header crossplatform library for reading a key from a terminal.

Usage

Just include readkey.h in your project and call the read_key() function

Example

#include <stdio.h>
#include "readkey.h"

int main() {
    char c;
    while ((c = read_key()) != 'e') {
        printf("%c\n", c);
    }
    return 0;
}

About

Library for reading a key from the keyboard

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages