Commit dbf0a87a authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Clear mouse hot spots (if any) before hanging up.

<nelgin> Ah, here's a good one. If I ssh to my bbs server, then ssh to my bbs, do whatever then /O to logout, when I left click in the putty window I get "0;98;20M0;98;20m and stuff like that. I have to run reset to get it working properly.
parent 0345e9f9
Pipeline #2671 passed with stage
in 9 minutes and 29 seconds
...@@ -3968,6 +3968,7 @@ int sbbs_t::mv(const char* path, const char* dest, bool copy) ...@@ -3968,6 +3968,7 @@ int sbbs_t::mv(const char* path, const char* dest, bool copy)
void sbbs_t::hangup(void) void sbbs_t::hangup(void)
{ {
if(online) { if(online) {
clear_hotspots();
lprintf(LOG_DEBUG,"disconnecting client"); lprintf(LOG_DEBUG,"disconnecting client");
online=FALSE; // moved from the bottom of this function on Jan-25-2009 online=FALSE; // moved from the bottom of this function on Jan-25-2009
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment