Skip to content

Use terminal bell for cross-platform breathing segment signals #6

Description

@marekkowalczyk

Summary

Implement use of the terminal "bell" (\a) to signal the end of each breathing segment. This will help ensure compatibility across Linux (including WSL 2), macOS, and other operating systems without relying on system-specific audio tools.

Motivation

  • Ensures all users, especially those on Linux or using minimal setups, get a consistent timing notification.
  • Reduces the need for external sound dependencies or configuration.
  • Keeps the CLI utility simple and portable.

Details

  • Upon completion of each breathing segment, the CLI should output the terminal bell character (\a / ASCII 7), which most terminals render as an alert sound or notification.
  • This feature should be enabled by default, or easily selectable with a command-line argument/flag if a more customizable solution is desired.

Acceptance Criteria

  • CLI emits terminal bell at the end of each breathing segment when this feature is enabled.
  • Works seamlessly on Linux, macOS, and Windows (WSL2/WSLg/etc.).
  • Document the feature and provide instructions for users who may have terminal bell disabled.

This issue is a sub-issue of #4.

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions