Terminal text space not fully utilized ( ng-terminal && xterm.js )

87 views Asked by At

I have build an terminal, inside the angular application using the ng-terminal (based on xterm.js). But while writing the text inside the terminal, it does not go beyond certain width (see pic.). We are using the websocket for connection with backend and displaying the response in terminal.write() method. I have only changed the default look of the ng-terminal(like font,size and background color etc.) , beside that everything is default configuration.

windows 11 "ng-terminal": "^6.0.0-beta", Angular 14enter image description here

I am expecting the terminal text to adjust according to browser window's height and width.

A similar type of issue

0

There are 0 answers