Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request for implementation of term-addon-fit with xterm-for-react #16

Open
himanshu-1034 opened this issue Dec 2, 2022 · 0 comments
Open

Comments

@himanshu-1034
Copy link

himanshu-1034 commented Dec 2, 2022

I am looking for the implementation of terminal with xterm-addon-fit library which will change the height of xterm when the size of my component changes....

Right now i am not able to implement that, maybe because the xterm. is wrapped in another div whose height i should modify using ref

xterm-addon-fit.js:1 Uncaught TypeError: Cannot read properties of undefined (reading 'scrollback') at t.FitAddon.proposeDimensions (xterm-addon-fit.js:1:916) at t.FitAddon.fit (xterm-addon-fit.js:1:414) at ResizeObserver.<anonymous> (EdrEndpointDetails.js:313:64)

I am getting this error even after giving scrollback value to options prop

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant