GithubHelp home page GithubHelp logo

joe7575 / conio Goto Github PK

View Code? Open in Web Editor NEW

This project forked from thradams/conio

0.0 1.0 0.0 78 KB

Turbo C conio.h clone for windows and linux

License: MIT License

C 84.17% Makefile 0.63% Lua 15.20%

conio's Introduction

Turbo C like <conio.h> for Lua

This library implements (parts) the of old Turbo C "conio.h" See header file for suported functions.

To avoid name conflicts a prefix "c_" was added into the original functions.

Original documentation:

http://docs.embarcadero.com/products/rad_studio/radstudio2007/RS2007_helpupdates/HUpdate4/EN/html/devwin32/coniohpart_xml.html

Windows 10

Obs: Windows 10 suports console virtual terminal sequences

Lua wrapper (luarocks)

This fork provides a API for Lua scripts and can be installed with "luarocks".

Installation

Download the mod from GitHub, extract the file from the ZIP archive.

Change your directory to conio-master and install the Lua library with:

luarocks make

For Linux like systems, use:

sudo luarocks make

For the installation of 'luarocks' (if not already available), see luarocks

Current Status

The library is tested on Linux/Ubuntu so far. It probably won't work under Windows yet...

History

V1.1.0 (2024-04-02)

  • "raw mode" functions added to get rid of terminal outputs
  • Rework the static function "get_cursor_position" to proper handle accumulated keystrokes
  • Add "msleep" function needed for the Lua environment
  • Add MIT license headers

v1.0.0 (2024-04-01)

  • Forked from thradams/conio
  • Lua wrapper/API and demo "test.lua" added

conio's People

Contributors

thradams avatar joe7575 avatar moacirbrg avatar

Watchers

 avatar

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.