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…
Show HN: Zenta – Mindfulness for Terminal Users
31–40 of 46 posts
Re: Show HN: Zenta – Mindfulness for Terminal Users
#32I'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
#33Re: Show HN: Zenta – Mindfulness for Terminal Users
#34Re: Show HN: Zenta – Mindfulness for Terminal Users
#35Really 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'…
But yeah, I agree – I think this might be rather too conservative.
Re: Show HN: Zenta – Mindfulness for Terminal Users
#36Really 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'…
Re: Show HN: Zenta – Mindfulness for Terminal Users
#37Really 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…
Re: Show HN: Zenta – Mindfulness for Terminal Users
#38Really 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
#39Re: Show HN: Zenta – Mindfulness for Terminal Users
#40Great. 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.
The cli is already so bare bones and focused, so Zenta fits in well.