Coder Social home page Coder Social logo

todo-cli's Introduction

C++ Todo List Console Application

This is a console-based todo list application written in C++. The application allows the user to create, modify, and delete todo items, and mark them as done or not done. The todo list is displayed in the console, and the user can navigate through the items using the keyboard.

preview

Requirements

To compile and run this application, you need:

  • A C++ compiler (e.g., g++)
  • The ncurses library (for console input/output)
  • make already installled

How to run

To run this project, type make run in the terminal

How to use

Once you start the application, you will see a list of todo items in the console, along with some instructions on how to navigate and modify the list. The available commands are:

In NORMAL MODE:

  • ENTER or x or SPACE: toggle the selected item as done or not done.
  • n: create a new todo item.
  • d: delete the selected todo item.
  • UP ARROW: move the selection up.
  • DOWN ARROW: move the selection down.
  • e: edit the selected todo item. (This will enter EDIT MODE)

In EDIT MODE

  • BACKSPACE: delete the last character of the editing item.
  • CTRL + BACKSPACE: delete a word
  • any other key: append the key to the editing item.
  • ENTER: save the editing item (back to NORMAL MODE).

To exit the application, press q or CTRL+C.

Contributing

If you find a bug or have a suggestion for improvement, feel free to open an issue or submit a pull request. This project is open to contributions, and any help is appreciated!

License

This project is released under the MIT License. Feel free to use it for any purpose.

todo-cli's People

Contributors

andndre avatar

Stargazers

 avatar

Watchers

 avatar

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.