Git Product home page Git Product logo

Comments (2)

mffan0922 avatar mffan0922 commented on June 3, 2024 1

tt a "@${tdate --date='string'} | +project | T:TBD | something to do......."

alias tdate='date +%Y-%m-%dT%H:%M:%S'

yes, I use a python script & inotify tools to process todo.txt. Whenever the file is opened or modified, the python script will be executed, and tt lswill supply a pretty format. I think it's better to be done by shell scripts.

OK, I will try to impement this using python scripts, thx anyway.

from todo.txt-cli.

inkarkat avatar inkarkat commented on June 3, 2024

I think the only way this can be done is through adding spaces at the end of each task to fill up the terminal width. As long as you can assume that each character is one screen cell wide this is easy, but hard considering double-width characters, tabs, emojis.

You seem to be using an unorthodox format with a custom timestamp, and |-aligned columns for projects and scheduling. If you have that formatting inside the todo file itself, that would go aginst the simplicity spirit of todo.txt; but if you use a custom filter to add the formatting to the tasks, you could easily implement the full line coloring there (and it would have to be less generic as you know what kind of characters you personally use).

from todo.txt-cli.

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.