warpdotdev / Warp

Warp is a modern, Rust-based terminal with AI built in so you and your team can build great software, faster.
https://warp.dev
Other
21.38k stars 373 forks source link

Input position is not respected a lot of times on a remote server #3551

Open ravi-devarakonda opened 1 year ago

ravi-devarakonda commented 1 year ago

Discord username (optional)

No response

Describe the bug

I have my input position set to default (pinned to bottom). When I login to a remote server, at random times, the input position is not respected and it goes to the classic behavior.

The remote server is bash. I have tested it both ways, by keeping the ssh wrapper on and off. Same behavior.

To reproduce

It has happened on multiple occasions. I have notice that it mostly happens:

Expected behavior

The Input position is respected.

Screenshots

No response

Operating system

MacOS

Operating system and version

13.4.1

Shell Version

zsh 5.9 (x86_64-apple-darwin22.0)

Current Warp version

v0.2023.08.08.08.04.stable_00

Regression

No, this bug or issue has existed throughout my experience using Warp

Recent working Warp date

No response

Additional context

Although it has happened on regular sessions too, it happened the most when I was connected to a VPN.

Does this block you from using Warp daily?

No

Is this a Warp specific issue? (i.e. does it happen in Terminal, iTerm, Kitty, etc.)

Yes, this I confirmed this only happens in Warp, not other terminals.

Warp Internal (ignore): linear-label:b8107fdf-ba31-488d-b103-d271c89cac3e

None

warpdotdev-devx[bot] commented 1 year ago

Hey @ravi-devarakonda Thanks for letting us know, this is because the sudo subshell on the remote machine isn't bootstrapped the way the SSH session or other subshells would be. We'll post any updates on this thread if/when this issue is being worked on. Unfortunately, there isn't a viable workaround at this time, any time you enter a subshell within an SSH session ( i.e. sudo su, bash, etc. ) the Warp wrapper will be temporarily disabled and will revert to the traditional waterfall input/output from traditional terminals.

To anyone else facing this issue, please add a 👍 to the original post at the top or comment with your details, and subscribe if you'd like to be notified.

ravi-devarakonda commented 1 year ago

Thank you for the reply!

supermanc88 commented 1 year ago

v0.2023.08.22.08.03.stable_00 has same issues

zachbai commented 1 year ago

Hey @ravi-devarakonda, if you're still experiencing this could you take a screenshot and attach it here the next time it happens?

I'm confused as to whether or not this is due to the fact that the SSH session is "unwarpified" (e.g. it isn't integrated with Warp's blocks UI) or if it is some other issue.

ravi-devarakonda commented 1 year ago

Hello @zachbai Sure. I'll grab a screenshot when it happens next time and post it here.

dannyneira commented 10 months ago

@ravi-devarakonda @supermanc88 Are you still seeing the same issue? If possible please post a screenshot/video of the issue.

ravi-devarakonda commented 10 months ago

Hello @dannyneira, Unfortunately, I couldn't yet replicate this issue. I am waiting on it to happen again.