Live data from Hacker News

Show HN: Zenta – Mindfulness for Terminal Users

github.com

31–40 of 46 posts

Re: Show HN: Zenta – Mindfulness for Terminal Users

#31
post #4
post #2

Great. I only get a line animation in the MacOS terminal app, under zsh, it doesn't look like the description.

Update: Just released v0.3.1 with Terminal.app compatibility fixed! The tool now auto-detects your terminal and adapts gracefully. You'll see a beautiful progressive breathing animation that flows like: Inhale: · → ○ → ●○○ → ●●●● (building up) Exhale: ●●●● → ●○○ → ○ → · (releasing down) Try the latest version - it should breathe beautifully on Terminal.app now. Thanks for helping make mindfulness accessible to everyo…

I love this. Quick suggestion: make the width/height of the animation depend on your terminal size. Then you could make the animation a bit smoother for larger terminals.

Re: Show HN: Zenta – Mindfulness for Terminal Users

#32
Really neat! Some feedback: it seems Zenta looks at $TERM to determine whether or not to use "simple" mode, and it seems it might be overly conservative.

I'm a tmux user, and in tmux, $TERM must be "screen-256color" or "tmux-256color". With $TERM set to either of those, zenta uses simple mode.

I can get it to use "full" mode by running it as "TERM=xterm-256color zenta" within tmux and it works fine, but this shouldn't be necessary - I haven't run into any other TUI apps that don't work properly in tmux.

Edit: I just noticed in the README that it seems to be intentional that it uses simple mode in tmux, but I'm not sure why that should be the case, since it clearly works fine. Maybe you could use simple mode for $TERM=screen and normal mode for $TERM=tmux?

On a different note, it seems like it would be more immersive if it took over the entire terminal window while running. Maybe you've already considered that and decided not to.

Anyway, thanks again! I love this.

Re: Show HN: Zenta – Mindfulness for Terminal Users

#35

Really neat! Some feedback: it seems Zenta looks at $TERM to determine whether or not to use "simple" mode, and it seems it might be overly conservative. I'm a tmux user, and in tmux, $TERM must be "screen-256color" or "tmux-256color". With $TERM set to either of those, zenta uses simple mode. I can get it to use "full" mode by running it as "TERM=xterm-256color zenta" within tmux and it works fine, but this shouldn'…

I added a --complex flag so it's easier to use the complex animations on tmux: https://github.com/e6a5/zenta/pull/5

But yeah, I agree – I think this might be rather too conservative.

Re: Show HN: Zenta – Mindfulness for Terminal Users

#36

Really neat! Some feedback: it seems Zenta looks at $TERM to determine whether or not to use "simple" mode, and it seems it might be overly conservative. I'm a tmux user, and in tmux, $TERM must be "screen-256color" or "tmux-256color". With $TERM set to either of those, zenta uses simple mode. I can get it to use "full" mode by running it as "TERM=xterm-256color zenta" within tmux and it works fine, but this shouldn'…

Thank you both for this feedback! You're right. I made a mistake by not testing thoroughly enough. I was being overly conservative based on assumptions rather than actual testing. Your detailed feedback about $TERM values and real-world tmux usage is exactly what I needed. I should have tested more environments before making assumptions about terminal compatibility. Thanks for keeping me honest and helping improve Zenta!

Re: Show HN: Zenta – Mindfulness for Terminal Users

#37
post #36

Really neat! Some feedback: it seems Zenta looks at $TERM to determine whether or not to use "simple" mode, and it seems it might be overly conservative. I'm a tmux user, and in tmux, $TERM must be "screen-256color" or "tmux-256color". With $TERM set to either of those, zenta uses simple mode. I can get it to use "full" mode by running it as "TERM=xterm-256color zenta" within tmux and it works fine, but this shouldn'…

Thank you both for this feedback! You're right. I made a mistake by not testing thoroughly enough. I was being overly conservative based on assumptions rather than actual testing. Your detailed feedback about $TERM values and real-world tmux usage is exactly what I needed. I should have tested more environments before making assumptions about terminal compatibility. Thanks for keeping me honest and helping improve Ze…

No problem, you can't test everything!

Re: Show HN: Zenta – Mindfulness for Terminal Users

#38
post #35

Really neat! Some feedback: it seems Zenta looks at $TERM to determine whether or not to use "simple" mode, and it seems it might be overly conservative. I'm a tmux user, and in tmux, $TERM must be "screen-256color" or "tmux-256color". With $TERM set to either of those, zenta uses simple mode. I can get it to use "full" mode by running it as "TERM=xterm-256color zenta" within tmux and it works fine, but this shouldn'…

I added a --complex flag so it's easier to use the complex animations on tmux: https://github.com/e6a5/zenta/pull/5 But yeah, I agree – I think this might be rather too conservative.

I just installed the newest version (released 21 minutes ago!) and it works perfectly now. Thanks to both of you! The magic of open source :)

Re: Show HN: Zenta – Mindfulness for Terminal Users

#40
post #3
post #2

Great. I only get a line animation in the MacOS terminal app, under zsh, it doesn't look like the description.

Thanks for the feedback! You're right. I haven’t tested it on Terminal.app yet. It works well on iTerm2 and most Linux terminals, but I’ll review it on Terminal.app soon and update the tool or the README to reflect compatibility. Really appreciate you pointing that out.

Thank you for being so responsive, and making Zenta in the first place! It has already allowed me to calm my mind on a few occasions.

The cli is already so bare bones and focused, so Zenta fits in well.

Post reply on HN