terminal
terminal copied to clipboard
The terminal size is not correct
It does not cover all the tab when I used terminal:open.

It is correct in the bottom tab.

I also get strange line issues because of this:

I can reproduce this. It seems to be an issue with fit getting the wrong initial dimensions. I will have to play around with it for a while to figure out why.
After it happens if I resize the window it works correctly so the issue might be that we need to create the terminal after a short delay.
Actually it looks like fit is returning the correct dimensions so I think this is an xterm bug but I am not sure.
Well, I don't have this issue with x-terminal. I think the problem is in the terminal itself.
It seems to happen intermittently with x-terminal. I'm guessing it is a race condition. I have confirmed that running refitTerminal() on a setTimeout after createTerminal() fixes it (or at least hides the problem).
That seems a good solution for now! We can investigate the issue more later, maybe in the xterm repo itself.
Should we create a xterm issue for this?
I'm not 100% sure if this is an issue in xterm or an issue with the way that Atom opens panes.
When I resize the terminal, the last line is not updated. It makes the last line go to an empty space. I should press CTRL+L to fix this.
