From 19d3e81d0a93aa4d6489fe74c0cb823758c2b509 Mon Sep 17 00:00:00 2001 From: Andrew Pamment Date: Fri, 5 Aug 2016 13:53:06 +1000 Subject: [PATCH] email extra colour --- email.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/email.c b/email.c index 165adae..cb7aa5d 100644 --- a/email.c +++ b/email.c @@ -170,7 +170,7 @@ void show_email(int socket, struct user_record *user, int msgno) { s_putstring(socket, "\r\n"); lines++; if (lines == 19) { - s_putstring(socket, "Press a key to continue..."); + s_putstring(socket, "\e[1;37mPress a key to continue...\e[0m"); s_getc(socket); lines = 0; s_putstring(socket, "\e[5;1H\e[0J"); @@ -195,7 +195,7 @@ void show_email(int socket, struct user_record *user, int msgno) { } sqlite3_step(res); - s_putstring(socket, "Press R to reply, D to delete Enter to quit...\r\n"); + s_putstring(socket, "\e[1;37mPress \e[1;36mR\e[1;37m to reply, \e[1;36mD\e[1;37m to delete \e[1;36mEnter\e[1;37m to quit...\e[0m\r\n"); c = s_getc(socket); if (tolower(c) == 'r') { if (subject != NULL) {