Code Monkey home page Code Monkey logo

nhmoon's Introduction

Project Status: Concept โ€“ Minimal or no implementation has been done yet, or the repository is only intended to be a limited example, demo, or proof-of-concept. CI Status Minimum Supported Rust Version MIT License

nhmoon is a Rust program for viewing & scrolling through a slice of the calendar in your terminal. Days with new or full moons in NetHack are highlighted, though the code can easily be adjusted to use different highlighting criteria instead.

Screenshot of the program on startup on 2023 November 18:

Screenshot of the program

Usage

nhmoon [<date>]

Opens a view of a proleptic Gregorian calendar centered on the given date, or centered on the current date if no date is given. Dates are given in the form YYYY-MM-DD using astronomical year numbering. Only dates from 10,000 BC (-9999 in astronomical year numbering) through 9,999 AD are supported.

Key Bindings

Key Command
j, Up Scroll up one week
k, Down Scroll down one week
w, Page Up Scroll up one page
z, Page Down Scroll down one page
0, Home Jump to today
? Show help
q, Escape Quit

nhmoon's People

Contributors

jwodder avatar dependabot[bot] avatar

Watchers

 avatar  avatar

nhmoon's Issues

Highlight the start date

When an explicit start date is given on the command line, highlight this date in the calendar somehow (underline it?).

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.