aboutsummaryrefslogtreecommitdiff
path: root/examples/pthreads
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pthreads')
-rw-r--r--examples/pthreads/pthreads.tm2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/pthreads/pthreads.tm b/examples/pthreads/pthreads.tm
index 7f720d5a..fee7ce5d 100644
--- a/examples/pthreads/pthreads.tm
+++ b/examples/pthreads/pthreads.tm
@@ -91,7 +91,7 @@ func main()
say_mutex := pthread_mutex_t.new()
announce := func(speaker:Text, text:Text)
do say_mutex.lock()
- say("$\033[2m[$speaker]$\033[m $text")
+ say("\[2][$speaker]\[] $text")
say_mutex.unlock()
worker := pthread_t.new(func()