ecmd-web
v0.4.0
Published
Simple but Fantastic web command line.
Downloads
2
Readme
ecmd
Description
Simple but Fantastic web command line.
Installing
- use CDN:
<script src="https://unpkg.com/[email protected]/dist/index.min.js"></script>
Example
ecmd.init({isFullscreen: true, isThunder: true, bufferSize: 32, cache: true,});
ecmd.printf('hello, world!');
Config
// options will overwrite setting(ECMD) and styles
// ECMD will be stored in local when you destroy(exit)
ecmd.init(<options>);
options:
- isFullscreen: false, // display in fullscreen
- isThunder: false, // thunder mode
- bufferSize: 128, // command buffer size
- cache : false, // if cache is true, settings and styles will be stored