projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix `restart-reset-terminal': terminal now restored to a sensible state when
[u/mdw/putty]
/
windows
/
window.c
diff --git
a/windows/window.c
b/windows/window.c
index
8a476b3
..
722f78e
100644
(file)
--- a/
windows/window.c
+++ b/
windows/window.c
@@
-1987,6
+1987,7
@@
static LRESULT CALLBACK WndProc(HWND hwnd, UINT message,
case IDM_RESTART:
if (!back) {
logevent(NULL, "----- Session restarted -----");
case IDM_RESTART:
if (!back) {
logevent(NULL, "----- Session restarted -----");
+ term_pwron(term, FALSE);
start_backend();
}
start_backend();
}
@@
-2154,7
+2155,7
@@
static LRESULT CALLBACK WndProc(HWND hwnd, UINT message,
term_clrsb(term);
break;
case IDM_RESET:
term_clrsb(term);
break;
case IDM_RESET:
- term_pwron(term);
+ term_pwron(term
, TRUE
);
if (ldisc)
ldisc_send(ldisc, NULL, 0, 0);
break;
if (ldisc)
ldisc_send(ldisc, NULL, 0, 0);
break;