• R/O
  • SSH
  • HTTPS

ttssh2: Commit


Commit MetaInfo

Revision7143 (tree)
Time2018-06-30 00:52:53
Authorzmatsuo

Log Message

Support Bracketed Paste Mode when Drag And Drop Paste filename

Change Summary

Incremental Difference

--- branches/drag_and_drop/teraterm/teraterm/vtwin.cpp (revision 7142)
+++ branches/drag_and_drop/teraterm/teraterm/vtwin.cpp (revision 7143)
@@ -2565,6 +2565,9 @@
25652565 case DROP_TYPE_PASTE_FILENAME:
25662566 {
25672567 const bool escape = (DropTypePaste & DROP_TYPE_PASTE_ESCAPE) ? true : false;
2568+ if (!BracketedPasteMode()) {
2569+ TermSendStartBracket();
2570+ }
25682571 PasteString(&cv, FileName, escape);
25692572 if (DropListCount > 1 && i < DropListCount - 1) {
25702573 const char *separator = (DropTypePaste & DROP_TYPE_PASTE_NEWLINE) ? "\n" : " ";
@@ -2587,6 +2590,9 @@
25872590 }
25882591
25892592 finish:
2593+ if (BracketedPasteMode()) {
2594+ TermSendEndBracket();
2595+ }
25902596 DropListFree();
25912597 return 0;
25922598 }
Show on old repository browser