about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorWill Song <incertia9474@gmail.com>2015-01-01 23:02:41 -0600
committerWill Song <incertia9474@gmail.com>2015-01-01 23:02:41 -0600
commite4e1d5e29b883d66b2f89c5ed659f07475e9ee5e (patch)
treeb36abedf611fff9c2bb12b4adad98df609428174
parentca6b3671339df473870969de92f62b5848b91a7a (diff)
downloadprofani-tty-e4e1d5e29b883d66b2f89c5ed659f07475e9ee5e.tar.gz
now using system("echo -ne ...") to print title
-rw-r--r--src/ui/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/core.c b/src/ui/core.c
index 96ac621d..35f97b71 100644
--- a/src/ui/core.c
+++ b/src/ui/core.c
@@ -2259,7 +2259,7 @@ ui_clear_win_title(void)
 void
 ui_goodbye_title(void)
 {
-    printf("%c]0;Thanks for using Profanity%c", '\033', '\007');
+    system("echo -ne \"\033]0;Thanks for using Profanity\007\"");
 }
 
 void