Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: how to print calcurse interface without entering TUI? #471

Open
GrahamBenHarper opened this issue Sep 16, 2023 · 1 comment
Open

Comments

@GrahamBenHarper
Copy link

I'd like to print the calcurse layout almost exactly as it appears when I run the calcurse command; however, I'd like it to print this via my .bashrc. For example, when I open my terminal, I'd like to see something that looks like this above my shell prompt:
Screenshot from 2023-09-16 17-21-38
I tried calcurse -d 1, but I don't see the calendar with today's date highlighted or my todo list. I would like to be able to see everything from the terminal just like when I'm in the TUI, but I would like to avoid entering the TUI if possible. Any help is appreciated!

@nimaaskarian
Copy link

this is possible, but because of the escape sequences used in (n)curses, the terminal would be unusable kinda, as you had no cursor.

however, heres the code

calcurse &> somefile &
cat somefile

I hope that you have had some better and less hacky way to do what you wanted to

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants