about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-02-06 04:23:49 -0500
committerJune McEnroe <june@causal.agency>2020-02-06 04:23:49 -0500
commit68440d50c624a6cfa52027635bcd9207b48504e6 (patch)
tree835217b8a5a8f63ad1316b22849bdc510ef8a79e
parentSet id color to Default on allocation (diff)
downloadcatgirl-68440d50c624a6cfa52027635bcd9207b48504e6.tar.gz
catgirl-68440d50c624a6cfa52027635bcd9207b48504e6.zip
Beep on hot
Diffstat (limited to '')
-rw-r--r--ui.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui.c b/ui.c
index 048eade..b0e30b9 100644
--- a/ui.c
+++ b/ui.c
@@ -411,6 +411,7 @@ void uiWrite(size_t id, enum Heat heat, const time_t *src, const char *str) {
 		statusUpdate();
 	}
 	wordWrap(window->pad, str);
+	if (heat > Warm) beep();
 }
 
 void uiFormat(