Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't copy content from Warpified subshell block #4869

Open
1 task done
zheng opened this issue May 3, 2024 · 3 comments
Open
1 task done

Can't copy content from Warpified subshell block #4869

zheng opened this issue May 3, 2024 · 3 comments
Labels
Bugs Bugs, Hangs, Crash, and Freezes

Comments

@zheng
Copy link
Contributor

zheng commented May 3, 2024

Dupe Check

Describe the bug

I'm unable to copy any content from the warpified shell block. The same problem applies to "insert into input"

To reproduce

  1. zsh
  2. Ctrl + I
  3. Wait for block to get warpified
  4. Try to copy text from this block

Expected behavior

No response

Screenshots

No response

Operating system

MacOS

Operating system and version

Sonoma 14.3

Shell Version

No response

Current Warp version

No response

Regression

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

Recent working Warp date

No response

Additional context

No response

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

None

@zheng zheng added the Bugs Bugs, Hangs, Crash, and Freezes label May 3, 2024
@dannyneira
Copy link
Member

Thanks @zheng ❤️

I was able to reproduce this with the first block, but not any subsequent ones, do you see this when running any commands on a warpified subshell?

@zheng
Copy link
Contributor Author

zheng commented May 3, 2024

Yes, it's only with the "Success! This subshell has been warpified" block specifically :D. The reason why I care about it, is it has the config line to automatically warpify. Without being able to copy it, I needed to type it out manually

@dannyneira
Copy link
Member

I see, thats less than ideal, In the meantime we also have them in our docs and I'll post them here for anyone else may need them. https://docs.warp.dev/features/subshells#automatically-warpify-subshells

# For zsh subshells, add to ~/.zshrc.
printf '\eP$f{"hook": "SourcedRcFileForWarp", "value": { "shell": "zsh"}}\x9c'

# For bash subshells, add to ~/.bashrc or ~/.bash_profile.
printf '\eP$f{"hook": "SourcedRcFileForWarp", "value": { "shell": "bash"}}\x9c'

# For fish subshells, add to ~/.config/fish/config.fish.
if status is-interactive
  printf '\eP$f{"hook": "SourcedRcFileForWarp", "value": { "shell": "fish"}}\x9c'
end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bugs Bugs, Hangs, Crash, and Freezes
Projects
None yet
Development

No branches or pull requests

2 participants