We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 04c33f3 commit 8c6eaadCopy full SHA for 8c6eaad
src/interactivity/win32/Clipboard.cpp
@@ -75,6 +75,7 @@ void Clipboard::Paste()
75
// NOTE: Some applications don't add a trailing null character. This includes past conhost versions.
76
const auto maxLen = GlobalSize(handle) / sizeof(wchar_t);
77
StringPaste(str, wcsnlen(str, maxLen));
78
+ return;
79
}
80
81
// We get CF_HDROP when a user copied a file with Ctrl+C in Explorer and pastes that into the terminal (among others).
0 commit comments