You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like first there’s a 5s delay establishing the connection (normal), but also, screen is being used which is unexpected.
I think that’s the most likely culprit here as screen can spit out extra data or even re-render in some cases (doubt that’s what’s happening though).
Maybe we add a way to disable screen, even when it’s present. We could add backend support to the init payload, for example. Or maybe we can make the agent ignore screen in the test some other way. Thoughts/preference here @code-asher?
It could be the startup message that appears in the bottom left corner that is causing the extra bytes.
My first draft actually did have a backend parameter, we could bring that back. But, it feels a bit wrong to me because really I think the other backend method should probably not exist given the bugs it has. Crazy it can input random characters and drop modes, among other issues. 😆
I think my preferences in order would be:
Adjust the test to account for the message (maybe we can allow either 5120 or 1024?)
See if we can eliminate the message (I am not sure there is a way)
Replace both backends with something else (something that does xterm-compatible terminal emulation)
Disable screen for the test
If we need to disable screen, even if temporarily, in the buffer backend tests we disable screen by setting PATH. But if that will not work here then a backend parameter seems like the way to go.
Activity
mafredri commentedon Dec 13, 2023
Looks like first there’s a 5s delay establishing the connection (normal), but also,
screenis being used which is unexpected.I think that’s the most likely culprit here as
screencan spit out extra data or even re-render in some cases (doubt that’s what’s happening though).Maybe we add a way to disable
screen, even when it’s present. We could addbackendsupport to the init payload, for example. Or maybe we can make the agent ignorescreenin the test some other way. Thoughts/preference here @code-asher?code-asher commentedon Dec 15, 2023
It could be the startup message that appears in the bottom left corner that is causing the extra bytes.
My first draft actually did have a
backendparameter, we could bring that back. But, it feels a bit wrong to me because really I think the other backend method should probably not exist given the bugs it has. Crazy it can input random characters and drop modes, among other issues. 😆I think my preferences in order would be:
screenfor the testIf we need to disable
screen, even if temporarily, in the buffer backend tests we disablescreenby settingPATH. But if that will not work here then abackendparameter seems like the way to go.