aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorache <ache@ache.one>2018-01-26 20:16:19 +0100
committerache <ache@ache.one>2018-01-26 20:16:19 +0100
commitee6a3dd6bc4a195e89c03e50318e6e167164025b (patch)
tree2762188ea92f9b73b2fe61a8e41cd51464f205a8 /main.c
parentfix the display of the sms to send (diff)
Add an option to shown Number instead of name
Diffstat (limited to 'main.c')
-rw-r--r--main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/main.c b/main.c
index 18f6b1f..d62615a 100644
--- a/main.c
+++ b/main.c
@@ -48,6 +48,7 @@ char status[10];
extern int firstSMSIndex;
extern int canAugment;
+extern int showName;
@@ -222,6 +223,10 @@ int main(int argc, char* argv[]){
if( currentConv )
tabed = !tabed;
break;
+ case 'n':
+ showName = !showName;
+ showContactListW();
+ break;
case '\r': {
contact* tmp = getContactSelected();
currentConv = tmp->conversation;