Git Product home page Git Product logo

paperterminal's Issues

Respect modifiers in VCSA

The modifiers contained in the VCSA file describe color, which is also (probably) also used by vim for the visual mode.

Update to OCaml 4.07

Update to OCaml 4.07 (or at least 4.03) to get access to the improvements to stdlib and some packages (e.g. dune).
Raspbian only has OCaml 4.02 and opam in its repositories which should be enough to compile OCaml 4.07 or load it via opam but this did not work previously for some reason.

Use inotify or similar to prevent 100% usage

Currently the program loops over the file contents of the VCSA file, essentially busy-waiting for changes. This can be improved by using inotify and will also reduce the CPU-Usage.

Consider Rewrite of Driver in OCaml

Rewriting the driver in OCaml has the benefit of using only a single language. The performance impact of this should also be negligible because no weird pointer-arithmetic is used in C. The arrays used in C can also be translated to OCaml efficiently.

Implement sophisticated algorithm for redrawing

Currently the changes in the VCSA are fetched and a simple bounding box is updated on the screen. This can be improved by using multiple smaller boxes that encompass all the changes.
Before implementing this, the program should be profiled to ensure the best ratio between unnecessary redrawing and many inefficient tiny draws is found.

Polish the drawing algorithm

Currently the drawing algorithm results in weird artifacts. They seem benign but this should be adressed nonetheless at some point.
The position of the cursor can also be incorporated into the algorithm to show the most relevant information first.

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.