File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/io/plugin/tsnode/lib/cmd Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ object MyNodeCommandLineUtil
5252 if (NodeCommandLineUtil .isTerminalCommandLine(commandLine))
5353 {
5454 // do something
55- (commandLine as PtyCommandLine ).withConsoleMode(true );
55+ // (commandLine as PtyCommandLine).withConsoleMode(true);
5656 }
5757 else
5858 {
@@ -121,7 +121,8 @@ object MyNodeCommandLineUtil
121121
122122 fun configureCharset (commandLine : GeneralCommandLine )
123123 {
124- if (commandLine.charset.toString() == " x-windows-950" || commandLine.charset.toString() == " x-windows-936" )
124+ val charset = commandLine.charset.toString()
125+ if (charset == " x-windows-950" || charset == " x-windows-936" )
125126 {
126127 commandLine.withCharset(Charset .forName(" UTF-8" ))
127128 }
You can’t perform that action at this time.
0 commit comments