Fix for empty messages
This commit is contained in:
@@ -738,7 +738,7 @@ char *message_editor() {
|
||||
}
|
||||
|
||||
return return_body;
|
||||
} else if (ch.chKeyPress != '\n') {
|
||||
} else if (ch.chKeyPress != '\n' && ch.chKeyPress != 0x1b) {
|
||||
if (position_x >= strlen(line)) {
|
||||
strncat(line, &ch.chKeyPress, 1);
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user