Skip to content

Commit 4db09c6

Browse files
committed
fixes #294
1 parent 6bf83df commit 4db09c6

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎src/main/java/zos/shell/singleton/configuration/ConfigSingleton.java‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
import zos.shell.constants.Constants;
1010
import zos.shell.service.change.ChangeWinService;
1111
import zos.shell.service.terminal.TerminalOutputService;
12+
import zos.shell.singleton.TerminalSingleton;
1213
import zos.shell.singleton.configuration.model.Profile;
1314
import zos.shell.singleton.configuration.record.ConfigSettings;
1415
import 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();

0 commit comments

Comments
 (0)