aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2026-03-12 07:47:03 -0400
committerB. Watson <urchlay@slackware.uk>2026-03-12 07:47:03 -0400
commit6e91705c7beffe86aa92e315b98427c480b6453a (patch)
treee42975225eb93cf7b9c20833fbb857637f819977
parent59d3656e3c6a365b342d48b1c2a39bffc358e2cd (diff)
downloadfujinet-chat-6e91705c7beffe86aa92e315b98427c480b6453a.tar.gz
Fix (band-aid) screen memory corruption.
-rw-r--r--config/config.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/config.c b/config/config.c
index 8f002b4..dc556c8 100644
--- a/config/config.c
+++ b/config/config.c
@@ -421,4 +421,10 @@ void main(void) {
print(conf->url);
putchar('\n');
}
+
+ /* GRR! When the client loads, somehow, wherever the cursor is according
+ to the E: device, gets a 0 byte written to its screen address.
+ Clearing the screen here band-aids it: a byte of the client's screen
+ memory is getting zeroed out, but it's a byte that was already zero... */
+ print("\x7d");
}