FICS sends bell characters (ascii 7) at the start of many messages.
We now strip a leading bell off the message before appending it to
the text memo of the ICS Console, and ignore the message altogether
if it was just bell + linefeed (to prevent each move of an observed
game adding an empty line).
ConsoleWrite(char *message, int count)
{
if(shellUp[ChatDlg] && chatOptions[CHAT_ICS].type != Skip) { // in Xaw this is a no-op
+ if(*message == 7) {
+ message++; // remove bell
+ if(strcmp(message, "\n")) return;
+ }
AppendColorized(&chatOptions[CHAT_ICS], message, count);
SetInsertPos(&chatOptions[CHAT_ICS], 999999);
}