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
20.96k stars 359 forks source link

nano x scroll (menu goes up along with the scroll) #3990

Open devnull-hub-lab opened 9 months ago

devnull-hub-lab commented 9 months ago

Discord username (optional)

Describe the bug

Hi,

Using nano inside Warp, after scroll screen, the nano menu goes up along with the scroll.

After open nano (normal):

nano-1

After scrolling screen (issue - marked by red rectangle):

nano-2

To reproduce

$ nano <some text file>

(scroll down the screen using keyboard keys )

Then, nano menu goes up along with the scroll.

Expected behavior

No response

Screenshots

No response

Operating system

MacOS

Operating system and version

macOS 11.6.7

Shell Version

tcsh 6.22.04

Current Warp version

v0.2023.12.12.08.02.stable_04

Regression

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

Recent working Warp date

I never noticed this problem before, but I'm new on Warp

Additional context

No response

Does this block you from using Warp daily?

Yes, this issue prevents me from using Warp daily.

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:b9d78064-c89e-4973-b153-5178a31ee54e

None

dannyneira commented 9 months ago

Hi @devnull-hub-lab Sorry to hear about this blocker. I wasn't able to reproduce this with either type of scrolling (PGUP/PGDN, UP/DOWN, or Mouse Scroll). I noticed you use tcsh which isn't a supported shell. I recommend you change default shell to bash|zsh|fish instead to see if the issue persists.

Also, there is a chance you may have some special configuration in your ~/.nanorc file. Would you be able to post a copy of that file to help us with reproducing the issue?

dannyneira commented 9 months ago

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.

devnull-hub-lab commented 9 months ago

@dannyneira thanks for your reply!

PGUP/PGDN works. I don't have mouse to test.

The issue only occurs using down key, press and hold down key until next page. Sorry for the lack of clarification previously.

The same occurs with /bin/sh and bash.

My nanorc file: nanorc.txt

Thanks!

devnull-hub-lab commented 9 months ago

An importante note: I tested some situations, and I noticed the issue is reproducible within a ssh session. Locally on macOS, it seems everything Ok!

But using Warp to connect on another machine via ssh session, and using nano in this remote machine, the issue occurs.

dannyneira commented 8 months ago

Thanks for clearing that up, I'll mark this as an SSH issue, please let us know the remote machine OS/Version and Shell/version. This would help us in reproducing the issue and narrowing down the cause in the future. We'll post any further updates or questions on this thread.

devnull-hub-lab commented 8 months ago

Hi @dannyneira Sorry for delay, I was on vacation.

The remote machine is a FreeBSD 14.0 The remote machine have OpenSSH 9.5.

If you want, I can release for you a freebsd environment completely isolated from my main system for tests. Just let me know.

Thanks, devnull