Coder Social home page Coder Social logo

Comments (1)

sidju avatar sidju commented on August 22, 2024

Taking some notes here in prep for when I actually get to coding on this next.
If anyone else has the time and energy feel free to make a PR of this change, otherwise it is likely to not be added until summer.

Input handling code for the Help and help overlay:
https://github.com/sidju/hired/blob/master/src/hui/doc_print.rs#L49

Commands to add (inspired by man pages for less and more):

  • u, scroll up (by half a screen height in less, 11 lines in more)
  • d, scroll down (by the same amount as u)
  • s, alias to enter
  • b, alias to page up
  • f and z, alias to page down
  • r, R or ctrl+L, noop without closing help (aka. redraw)
  • g or home, go to line 1
  • G or end, go to last line

from hired.

Related Issues (20)

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.