Make the bottom bar of mail reading a bit nicer
This commit is contained in:
parent
51e130db00
commit
2aac742174
@ -184,4 +184,5 @@ Login Name:
|
||||
\r\n-------------------------------------\r\n
|
||||
Is this Correct? (Y/N)
|
||||
\e[1;37mPress any key to continue...\e[0m
|
||||
\e[24;1H\e[1;37;44mUp / Down to Scroll, Left / Right Change Message, R reply, Q quit\e[K\e[0m
|
||||
\e[24;1H\e[1;32mUp / Down \e[1;37mto Scroll, \e[1;32mLeft / Right \e[1;37mChange Message, \e[1;32mR \e[1;37mreply, \e[1;32mQ \e[1;37mquit\e[K\e[0m
|
||||
\e[23;1H\e[1;30m-------------------------------------------------------------------------------\e[0m\r\n
|
||||
|
@ -911,10 +911,11 @@ void read_message(struct user_record *user, struct msg_headers *msghs, int mailn
|
||||
|
||||
s_printf("%s\e[K\r\n", msg_lines[z]);
|
||||
|
||||
if (z - position >= 16) {
|
||||
if (z - position >= 15) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
s_printf(get_string(187));
|
||||
s_printf(get_string(186));
|
||||
c = s_getc();
|
||||
|
||||
@ -933,7 +934,7 @@ void read_message(struct user_record *user, struct msg_headers *msghs, int mailn
|
||||
}
|
||||
} else if (c == 66) {
|
||||
position++;
|
||||
if (position + 16 > msg_line_count) {
|
||||
if (position + 15 > msg_line_count) {
|
||||
position--;
|
||||
}
|
||||
} else if (c == 67) {
|
||||
|
Reference in New Issue
Block a user