File tree Expand file tree Collapse file tree
src/main/java/zos/shell/singleton/configuration Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99import zos .shell .constants .Constants ;
1010import zos .shell .service .change .ChangeWinService ;
1111import zos .shell .service .terminal .TerminalOutputService ;
12+ import zos .shell .singleton .TerminalSingleton ;
1213import zos .shell .singleton .configuration .model .Profile ;
1314import zos .shell .singleton .configuration .record .ConfigSettings ;
1415import zowe .client .sdk .core .SshConnection ;
@@ -162,6 +163,9 @@ public void updateWindowSettings(final TextTerminal<?> terminal) {
162163 configSettings .getWindow ().getFontsize () : String .valueOf (Constants .DEFAULT_FONT_SIZE ));
163164 str .append (result != null ? result : DEFAULT_EMPTY_STRING );
164165
166+ TerminalSingleton .getInstance ().setFontSize (window != null && window .getFontsize () != null ?
167+ Integer .parseInt (configSettings .getWindow ().getFontsize ()) : Constants .DEFAULT_FONT_SIZE );
168+
165169 if (window != null ) {
166170 var paneWidth = window .getPaneWidth ();
167171 var paneHeight = window .getPaneHeight ();
You can’t perform that action at this time.
0 commit comments