mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 09:58:01 +00:00
r8338 broke pasting with Shift-Ins and from the context menu on Windows.
Divert these to use the request_paste() interface.
[originally from svn r8377]
[r8338 == 54835a9838
]
This commit is contained in:
parent
cf3b45392d
commit
5611259468
@ -2247,7 +2247,7 @@ static LRESULT CALLBACK WndProc(HWND hwnd, UINT message,
|
|||||||
term_copyall(term);
|
term_copyall(term);
|
||||||
break;
|
break;
|
||||||
case IDM_PASTE:
|
case IDM_PASTE:
|
||||||
term_do_paste(term);
|
request_paste(NULL);
|
||||||
break;
|
break;
|
||||||
case IDM_CLRSB:
|
case IDM_CLRSB:
|
||||||
term_clrsb(term);
|
term_clrsb(term);
|
||||||
@ -3813,7 +3813,7 @@ static int TranslateKey(UINT message, WPARAM wParam, LPARAM lParam,
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
if (wParam == VK_INSERT && shift_state == 1) {
|
if (wParam == VK_INSERT && shift_state == 1) {
|
||||||
term_do_paste(term);
|
request_paste(NULL);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
if (left_alt && wParam == VK_F4 && cfg.alt_f4) {
|
if (left_alt && wParam == VK_F4 && cfg.alt_f4) {
|
||||||
|
Loading…
Reference in New Issue
Block a user