Skip to content

Stradex/webcurses

Repository files navigation

Ncurses for EMScripten

This is a very basic implementation of ncurses for emscripten in order to make work legacy ncurses applications in the browser. I am using termlib.js for the terminal display.

USAGE

In order to make ncurses applications to work with EMSCRIPTEN you must add this preprocessor condition to include webcurses.h or ncurses.h depending if you are compiling with ecc or gcc

#ifdef __EMSCRIPTEN__
	#include <emscripten/emscripten.h>
	#include "webcurses.h"
#else
	#include <ncurses.h>
#endif

About

An implementation of ncurses for emscripten

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages