Revision: 7996 https://osdn.net/projects/ttssh2/scm/svn/commits/7996 Author: zmatsuo Date: 2019-08-20 23:34:12 +0900 (Tue, 20 Aug 2019) Log Message: ----------- ポップアップをそのままクリップボードへ送れるようにした Modified Paths: -------------- branches/unicode_buf/teraterm/teraterm/vtwin.cpp -------------- next part -------------- Modified: branches/unicode_buf/teraterm/teraterm/vtwin.cpp =================================================================== --- branches/unicode_buf/teraterm/teraterm/vtwin.cpp 2019-08-20 14:33:58 UTC (rev 7995) +++ branches/unicode_buf/teraterm/teraterm/vtwin.cpp 2019-08-20 14:34:12 UTC (rev 7996) @@ -2263,6 +2263,14 @@ ScreenToClient(m_hWnd, &pos); CodePopup(pos.x, pos.y); } + if (TipWinCodeDebug != NULL && nChar == VK_SHIFT) { + POINT pos; + GetCursorPos(&pos); + ScreenToClient(m_hWnd, &pos); + wchar_t *buf = BuffGetCharInfo(pos.x, pos.y); + CBSetTextW(HVTWin, buf, 0); + free(buf); + } #endif switch (KeyDown(HVTWin,nChar,nRepCnt,nFlags & 0x1ff)) { case KEYDOWN_OTHER: