Coder Social home page Coder Social logo

matrix-rain's People

Contributors

liwuhou avatar nojvek avatar ombradifenice avatar theclayton avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

matrix-rain's Issues

incorrect hash bang path

➜  ~  npm install -g matrix-rain
/Users/Nicholas/.nvm/versions/node/v4.2.2/bin/matrix-rain -> /Users/Nicholas/.nvm/versions/node/v4.2.2/lib/node_modules/matrix-rain/matrixRain
[email protected] /Users/Nicholas/.nvm/versions/node/v4.2.2/lib/node_modules/matrix-rain
➜  ~  src
➜  ~  matrix-rain
zsh: /Users/Nicholas/.nvm/versions/node/v4.2.2/bin/matrix-rain: bad interpreter: /usr/local/bin/node: no such file or directory

looks like main/bin in your package.json is messed up

Wrong cursor position after exiting

Thanks for the terrific work :P Really had fun with it

One thing I'm noticed: every time I exit the process, the cursor is always at the very top of the console.

Test

I would have to hit enter multiple times to bring my cursor back to the original position to start typing again. I think this is related to how renderFrame works? Maybe we need to save the cursor position at the start and restore it with cursorTo before exit?

I'd be willing to fix this myself, just in a few days :D

Update. For some reason I can't reproduce in my console. I'm on MacOS and the above demo uses the VS Code terminal, but when I use the system's native terminal the cursor behaves correctly, so still investigating

Background color config

Really happy about the introduced font color option.

It looks like my zsh theme (or something else) makes the background gray, but i want black.
Could you please add background color option and use it to clear screen before frame rendering?

clearScreen: () => `${ctlEsc}2J`,

image

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.