X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/8252e709fbeb1b992e1c738536abbda5974492c4..e634699906875560987ba8d6aa776ef7b8394301:/window.c diff --git a/window.c b/window.c index 59757d91..a4a376bb 100644 --- a/window.c +++ b/window.c @@ -3817,6 +3817,16 @@ static int TranslateKey(UINT message, WPARAM wParam, LPARAM lParam, return -1; } +void request_paste(void) +{ + /* + * In Windows, pasting is synchronous: we can read the + * clipboard with no difficulty, so request_paste() can just go + * ahead and paste. + */ + term_do_paste(); +} + void set_title(char *title) { sfree(window_name);