diff --git a/html_orig/fontello/fontello.zip b/html_orig/fontello/fontello.zip index f0ff528..65aa70d 100644 Binary files a/html_orig/fontello/fontello.zip and b/html_orig/fontello/fontello.zip differ diff --git a/html_orig/jssrc/term_screen.js b/html_orig/jssrc/term_screen.js index 667bf0c..cfc20a8 100644 --- a/html_orig/jssrc/term_screen.js +++ b/html_orig/jssrc/term_screen.js @@ -881,3 +881,16 @@ function fitScreenIfNeeded () { } fitScreenIfNeeded(); window.addEventListener('resize', fitScreenIfNeeded) + +window.toggleFitScreen = function () { + fitScreen = !fitScreen; + const resizeButtonIcon = qs('#resize-button-icon') + if (fitScreen) { + resizeButtonIcon.classList.remove('icn-resize-small') + resizeButtonIcon.classList.add('icn-resize-full') + } else { + resizeButtonIcon.classList.remove('icn-resize-full') + resizeButtonIcon.classList.add('icn-resize-small') + } + fitScreenIfNeeded(); +} diff --git a/html_orig/pages/term.php b/html_orig/pages/term.php index 3dde626..d2baca1 100644 --- a/html_orig/pages/term.php +++ b/html_orig/pages/term.php @@ -58,7 +58,8 @@