aboutsummaryrefslogtreecommitdiff
path: root/messageWind.c
diff options
context:
space:
mode:
authorache <ache@ache.one>2019-02-10 23:31:44 +0100
committerache <ache@ache.one>2019-02-10 23:31:44 +0100
commit10959bf8d4b034173b818e86ca2ed3530e29df78 (patch)
tree0a33a85ca27be90191814a4273c3f46d9c8dd855 /messageWind.c
parentRefesh from inotify (fuck yeah !) (diff)
Manage new message
Diffstat (limited to 'messageWind.c')
-rw-r--r--messageWind.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/messageWind.c b/messageWind.c
index ca9d3a1..73d1182 100644
--- a/messageWind.c
+++ b/messageWind.c
@@ -89,6 +89,7 @@ int show1SMS(sms* S, int y_base, int* hasFinish) {
move(y+y_base, x_base);
printw("%s", line);
}
+ S->state = SMS_READ;
move(y+y_base+1, x_base);
attrset( COLOR_PAIR( 0 ) | A_NORMAL);