hare

The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit 63fc7d8b7c9dfc499ff336b762210d6abf87f97b
parent fbdc4e4319b0a753f3ad4ca60dc22152e5bec412
Author: Noam Preil <noam@pixelhero.dev>
Date:   Fri,  4 Mar 2022 18:05:58 -0500

cmd/hare: bell the terminal when build completes

Signed-off-by: Noam Preil <noam@pixelhero.dev>

Diffstat:
Mcmd/hare/subcmds.ha | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/cmd/hare/subcmds.ha b/cmd/hare/subcmds.ha @@ -179,6 +179,9 @@ fn build(args: []str) void = { case !exec::exit_status => fmt::fatal("{} {}: build failed", os::args[0], os::args[1]); }; + if (tty::isatty(os::stdout_file)) { + io::write(os::stdout_file, ['\a'])!; + }; }; fn cache(args: []str) void = {