X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/9657ac3d30e1c8d3aefa13054af5851fe2f3c3d2..e9609ce57da09e800084fb248d1b9b82d3c11634:/windows/window.c diff --git a/windows/window.c b/windows/window.c index 7f23767c..216c1704 100644 --- a/windows/window.c +++ b/windows/window.c @@ -2247,7 +2247,7 @@ static LRESULT CALLBACK WndProc(HWND hwnd, UINT message, term_copyall(term); break; case IDM_PASTE: - term_do_paste(term); + request_paste(NULL); break; case IDM_CLRSB: term_clrsb(term); @@ -3813,7 +3813,7 @@ static int TranslateKey(UINT message, WPARAM wParam, LPARAM lParam, return 0; } if (wParam == VK_INSERT && shift_state == 1) { - term_do_paste(term); + request_paste(NULL); return 0; } if (left_alt && wParam == VK_F4 && cfg.alt_f4) {