Closed toyqiu closed 2 years ago
This can be accomplished today by modifying the style.css
https://github.com/billchurch/webssh2/blob/main/app/client/src/css/style.css
Then building the client code
npm run build
We could create a few options to account for this. Right now, this is available in the javascript as term.options
.
We're already doing this for scrollback, tabStopWidth, bellStyle, and cursorBlink.
Give me a moment and I will add a few more options for fonts.
This is in https://github.com/billchurch/webssh2/tree/0.4.7-alpha.0
You can specify the fontSize
in:
terminal.fontSize
(default is 12)fontSize
fontSize
Please test and let me know how this works for you:
git checkout 0.4.7-alpha.0
or grab it from docker hub:
docker pull billchurch/webssh2:0.4.7-alpha.0
Found a slight bug with displaying banners from some ssh servers and I re-ordered things a bit, updated in https://github.com/billchurch/webssh2/tree/0.4.7-alpha.1
git checkout 0.4.7-alpha.1
or grab it from docker hub:
docker pull billchurch/webssh2:0.4.7-alpha.1
I find webssh2 being very convenient to use at a phone size device,if the font size can be changeable