GithubHelp home page GithubHelp logo

todo-rs's Introduction

todo-rs

Simple Interactive Terminal Todo App in Rust. This is meant to be an experimental playground for testing ideas on Immediate TUIs.

thumbnail

Quick Start

$ cargo run TODO

Controls

Keys Description
k, j Move cursor up and down
Shift+K, Shift+J Drag the current item up and down
g, G Jump to the start, end of the current item list
r Rename the current item
i Insert a new item
d Delete the current list item
q Quit
TAB Switch between the TODO and DONE panels
Enter Perform an action on the highlighted UI element

todo-rs's People

Contributors

kolumb avatar rexim 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

todo-rs's Issues

delete items

Delete the currently selected list item by pressing d

configuration file for setting keybindings

Read keybindings from a .toml file.

Motivation was to just provide vimlike keybinds, but using a configuration file does serve a broader range of users.

Issue currently in progress, so please assign ticket to me if appropriate.

save only changed, deleted, or added tasks.

Hey, I was also writing a TUI to-do app in Rust (but using tui-rs), but I was considering a more efficient way to save the tasks by saving only the lines that have been changed and not the unchanged ones. I tried making many implementations, like using enums or checking if the file contains that task already. However, I kept getting stuck. Do you have any idea how we could implement this?

Unicode support

Text written with utf8 encoding is garbled in the terminal with no apparent reason, no matter what terminal window is used. At least in konsole and x-terminal-emulator, on UTF8-enabled system.

Result in app:

  • x +2x=0
  • ~B ~G
  • duck: ~_ ~F
  • normal text works

Text in TODO:
TODO: x²+2x=0
TODO: żółć
TODO: duck: 🦆
TODO: normal text works

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.