1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-02 03:52:49 -05:00

Telnet specials menu was not being reinstated after a session was restarted in

the same window (Windows version only).

Policy change: it's now the backend's responsibility to call
update_specials_menu() at the start of a session (or whenever it feels ready),
if it has any special commands. Otherwise the menu won't be displayed.

[originally from svn r4649]
This commit is contained in:
Jacob Nevins
2004-10-17 14:44:27 +00:00
parent 1b3eb3e20d
commit 4482a79162
4 changed files with 12 additions and 4 deletions

View File

@ -686,8 +686,6 @@ int WINAPI WinMain(HINSTANCE inst, HINSTANCE prev, LPSTR cmdline, int show)
SetScrollInfo(hwnd, SB_VERT, &si, FALSE);
}
start_backend();
/*
* Prepare the mouse handler.
*/
@ -742,7 +740,7 @@ int WINAPI WinMain(HINSTANCE inst, HINSTANCE prev, LPSTR cmdline, int show)
}
}
update_specials_menu(NULL);
start_backend();
/*
* Set up the initial input locale.