Conversation
|
Can't get it to work atm, setting to WIP. The process launches but just does not show the Hyper window. |
on |
|
Hi, I tried to do this and I'm able to get the terminal window and the shell, but there are some random characters appearing at the top(when using webgl). You can take a look here |
@Stanzilla this is coming because of onURLAbort in term-group.js as it is undefined in props |
|
oh thank you, that's indeed better. Those random characters are the xterm atlas, I think |
|
@LabhanshAgrawal try this |
|
Facing problems with yarn install with the changed node-pty version. Also the rendererType TermOption cannot be 'webgl' in the new xterm. |
|
@LabhanshAgrawal why not? it can be if we load the plugin? |
|
That's the error I'm getting. I think since the renderer has been moved to a plugin, it would set the renderer type when loaded. |
|
Oh I see |
|
Removing the rendererType TermOption and reverting the node-pty version is working for me. |
|
The random characters at the top are also gone |
|
Yup. pushed your suggestion, looks good! |
|
Is there any specific reason for changing the node-pty version? 0.9.0-beta26 is not compiling for me (on mac) |
|
@LabhanshAgrawal yes we need it for the next Electron update. Which node version are you on? |
|
my node version is 12.6.0 |
|
@GitSquared afaik all the fork did was bundling the webgl addon and enabling it. sadly @juancampa is no longer responding on the hyper project. |
|
@ivanwonder yeah, it's fine in VS code, I tried. |
|
after resize, continue to input and check if it's layout correctly. maybe it's not the problem of xterm. there are no windows on my side |
|
@ivanwonder haven't seen that, something like it happened in Firefox but we fixed that bug a long time ago. Note VS Code doesn't use the webgl renderer yet so it could be related to that? |
|
My video about the resizing problem was with the canvas renderer btw |
|
@Tyriar it's canvas render. I search the issues and find fixed. but still exist. |
|
I think this is the line that controls that: Unless there's a bug in that version of Chrome? 🤷♂ |
|
I just noticed that resizing is fine for all visible lines but off for the ones currently out of view. See https://dl.dropboxusercontent.com/s/7fcwjxyw0yivl86/2019-10-04_16-16-11.mp4 do we have to call .fit() on scroll events? |
That's just how winpty/conpty work because they wrap lines before xterm.js gets them. With a native pty they let the terminal emulator wrap them, see microsoft/terminal#405 |
|
Hrm, how do we best handle that then or just have to live with it? |
|
@Stanzilla you just have to live with it, as you have already been doing if you're on Windows. Until the upstream issue is fixed. |
|
@ivanwonder oh it's in the demo? I don't see any issues on latest Edge Dev (Chromium 79): Might be related to the font? |
|
|
|
I am not facing any text rendering issues with this pr (using canvas renderer). The issue I had mentioned was on merging xterm4 with electron6 branch (which on itself has rendering issues for me) |
|
Yeah I think we have to ignore the various Windows quirks and accept them. I only have Windows so here, so kinda need you guys to judge if we are otherwise ready or not. |
|
It's ok for me. I can live with that. |
|
Everything works great for me on Linux, however the "About" pop-up shows the renderer is set to |
|
@GitSquared WebGL is disabled in this pr because it had some issues. See line 139 in term.js |
|
@LabhanshAgrawal Oh OK, got it. I wrote this comment but didn't think it was copied here. |
|
Are we ready to merge then? |
|
There is the initial load resize issue, which is small and the fixing of webgl renderer, both can be tracked in new issues. I think it should be ok to merge now. |




No description provided.