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

Detach a block being processed / tear off tab #56

Open
simjnd opened this issue Jul 23, 2021 · 6 comments
Open

Detach a block being processed / tear off tab #56

simjnd opened this issue Jul 23, 2021 · 6 comments
Labels
Feature requests Feature Requests

Comments

@simjnd
Copy link

simjnd commented Jul 23, 2021

Is your feature request related to a problem? Please describe.
You execute a command / script / whatever and you realise it's going to take a long time, instead of CTRL + C and re-launching in the background or opening a new tab losing all context or multiplexing or whatever else, you could have a simple shortcut

Describe the solution you'd like
A command / keyboard shortcut (CMD + D? customisable of course) that allows me to detach a block so that it will keep on running but the terminal input is freed and focused again and I can keep doing things, typing new commands, etc. The output of the commands in the detached block will appear in that block, so if you do things in the meantime you can just navigate through blocks and check its progress

Additional context
N/A

@charlespierce
Copy link

Thanks for the suggestion @simjnd, that's a super interesting feature! We've got it added to the backlog.

@elviskahoro elviskahoro changed the title Detach a block being processed Blocks: Detach a block being processed Nov 7, 2021
@elviskahoro elviskahoro changed the title Blocks: Detach a block being processed Detach a block being processed Dec 6, 2021
@elviskahoro
Copy link
Contributor

@DavidMChan
From #266

Describe the solution you'd like?
When using warp, it would be super awesome if I could run blocks in the background of the current session - for example, if I ran top, the command would continue running in the block, while presenting a new prompt so I could continue working in the same session. While I could use something like tmux to do this, it would be super cool to have this working natively in the shell.

(Yes, I know this is a crazy amount of work, but man would it be cool.)

@elviskahoro
Copy link
Contributor

Describe the solution you'd like?

An option in the block dialog to open a new shell (in a tab, window, block, session? - needs to be workshopped) that passes in the environment / context from a current block.

Context Information:
directory
etc. (please leave comments on some of the variables to be passed)

Is your feature request related to a problem? Please describe.

blocks

Additional context

Sourced from Discord (general channel: 09/03/2021)
Original Articulation:
" I'd love to see is something like Juypter Notebooks with blocks, the ability to swap shells per block but also carry the context to each shell for the current window (tab? document?)"

@elviskahoro
Copy link
Contributor

elviskahoro commented Jan 25, 2022

From aganders3 via Discord:
https://discord.com/channels/851854972600451112/906269689116770304/920732777366831154

I like that full screen apps (like vim) just work, but it would be kind of neat to have an option to collapse them back into a block or new pane (automatically?). I'm thinking of something like man tar where I might want to read the documentation but also be able to start composing my own command without closing the pager.

@elviskahoro
Copy link
Contributor

From mcfearsome via Discord:
https://discord.com/channels/851854972600451112/851854972600451115/883385344727318548

I know its not a perfect analogy but what I'd love to see is something like Juypter Notebooks with blocks, the ability to swap shells per block but also carry the context to each shell for the current window (tab? document?), maybe even get more creative and add "kernels" for normal languages (Ruby, JS, etc) but be able to access an injected context. (For a use case I personally use Fish but it can be annoying sometimes and it'd be nice to easily switch to bash or zsh when needed without just dropping into a subshell or something for a single command).

Really I'm tired of having different configs for each shell that inevitably drift and I want something to translate a universal profile to them all for me lol.

@gmarciani
Copy link

Same feature request in #1092

@dannyneira dannyneira changed the title Detach a block being processed Detach a block/tab/pane being processed Nov 28, 2022
@warpdotdev-devx warpdotdev-devx bot added the Feature requests Feature Requests label Jan 8, 2023
@dannyneira dannyneira changed the title Detach a block/tab/pane being processed Detach a block being processed Mar 23, 2023
@elviskahoro elviskahoro changed the title Detach a block being processed Detach a block being processed / tear off tab Jun 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature requests Feature Requests
Projects
None yet
Development

No branches or pull requests

4 participants