You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug 573797: Always use sendString, regardless of encoding
This removes a TODO in the code that makes no sense, and in
most cases the else branch is not taken as a common operating
mode is the default charset/encoding is windows-1252 but the
current charset is utf-8.
The effective difference between the two branches is that
the else does a flush after character rather than after each
string.
Change-Id: I50b3cc5837d783ba20b88c2efa44d9c4e6381d30
Copy file name to clipboardExpand all lines: terminal/plugins/org.eclipse.tm.terminal.control/src/org/eclipse/tm/internal/terminal/emulator/VT100TerminalControl.java
+1-8Lines changed: 1 addition & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -312,14 +312,7 @@ public boolean pasteString(String strText) {
312
312
returnfalse;
313
313
if (strText == null)
314
314
returnfalse;
315
-
if (!fEncoding.equals(defaultEncoding)) {
316
-
sendString(strText);
317
-
} else {
318
-
// TODO I do not understand why pasteString would do this here...
0 commit comments