Comments (22)
I think that both should be cool: having both a "Hide Block" option (simply visually removes it, like a finer grained CTRL + L
), and a "Delete Block" (erases it from history, an easy way to cleanup misspelled commands and such from your history so that it doesn't pollute your CTRL + R
)
EDIT: Noticed this request is very similar to #23
from warp.
Right, one feature we could easily add here is the ability to collapse blocks, so you can just see the input and not the output. We could do it globally or on a per block basis.
Curious if this would be useful.
from warp.
I have 3 use cases:
-
Remove a block with a password in it.
This does not happen very often and can require some more complex user interaction, like clicking.
[remove a block and from history] -
Hide a block which I don't care about any more. For example a file listing; it takes up a lot of space and when I am finished with said file name the listing is of no value any more. The same when I list my kubernetes pods. When I have checked the presence or name of the pod the list is of little use. So I'd like to just hide it.
This happens quite often; even very often. The best solution, for me that is, is to have a shortcut.
[hide a block] -
Remove a block with speling eror in, like a mistyped command.
This happens wy to offten. So a shortcut would be prefereble. preferebel. referable.
I'd like to remove it from history in the same keystroke. No reason to have to search or arrow-up through erroneous commands.
[remove a block and from history]
from warp.
Are there any ETAs for this feature? It's been 3 years. Doesn't look like a reasonable time for such a simple feature
from warp.
I instinctively went to the menu to delete a block. This is because I was imputing my password with the -p flag of some tool. I wanted this totally removed/deleted from screen and history too.
from warp.
on Discord, @s278gupt, shared some mock-ups of
As well as
As I (amongst other things) described in #23 (and Zach mentioned above)
from warp.
I found this issue as I was looking for a way to delete a block that contained passwords too.
I'm sure I could purge everything, but given I use a tool to generate passwords and licences, it would be better to have the level of control such that I could delete things I don't ever want preserved.
from warp.
Oooh good question; I think more like just not to see the block in a pane --- I've only just started using Warp, but I can easily see something where it would be useful to have different panes with different blocks depending not the context.
from warp.
I'd just like to add to this that frequently use CMD + L in OSX terminal as part of my workflow to peek the output of a certain command, without having it persist on my screen - I find it incredibly useful.
For the time being I'll probably stick with my existing terminal setup because I use CMD + L so often, but would love to see it added to warp!
from warp.
@pnlinh Your question does not belong to this issue really but here is the answer:
You have a kebab menu with what you seek.
from warp.
I would really love to see a "delete block(s)" feature.
Everybody knows ctrl+k / clear terminal, but sometimes you get junk blocks or make a mistake, or you just want to clear one or a few items from your terminal history, and—especially because in Warp you can select blocks, you should be able to delete them. The blocks paradigm is similar to code blocks in IPYNB/Jupyter notebooks as well—which allow you to delete blocks. This would be a very natural feature. I completely expected it to already be implemented in Warp, and I was surprised when I selected multiple blocks and then went to the blocks menu, looking for this feature, and selected "Clear Blocks", when it just cleared my terminal. The wording "clear blocks", especially in the context of having one or more blocks selected, gives the impression that the selected blocks will be deleted from the terminal, and does not give the impression of "clear the whole terminal", which in most terminals is called "clear terminal". Alternatively, using the block paradigm, one might expect such a command to be labeled "Clear all blocks".
from warp.
hey @narner mind giving more context on the feature request? do you just not want to see the block or do you want to completely 'erase it' from the history?
from warp.
I just noticed that #46 duplicates this task. will keep this one, since it has more discussion already
from warp.
Linking:
from warp.
@manuelblancovalentin
From #493
More general:
Ability to delete/hide any block you want. Just click on it and either hide after 2-click or click the three buttons of the menu and then select "hide".
from warp.
Thanks for letting us know @braykov, we will post updates here. We appreciate your patience.
from warp.
Right, one feature we could easily add here is the ability to collapse blocks, so you can just see the input and not the output. We could do it globally or on a per block basis.
Curious if this would be useful.
I would absolutely love this. It's the one thing I keep going to do (over and over again) and then remembering isn't a supported functionality.
from warp.
Hey Folks, CMD-K
clears all the blocks in a session, there isn't a way to delete individual blocks at this time, but the shortcut should help with the use case for the time being.
from warp.
Hi all, I can't find the way to delete shared block. Is there any other way to delete it?
from warp.
@pnlinh Your question does not belong to this issue really but here is the answer: You have a kebab menu with what you seek.
@LosManos It works. Thank you
from warp.
similarly, sometimes I want to print a piece of sensitive information, for troubleshooting purposes, but then make the output disappear (permanently) without closing and re-opening my terminal.
from warp.
+1
If I screw something up in a video demo I want to delete the block and do it again, in context of all the blocks before it. Not need to open a new tab and recreate everything again. It would be a game changer for me.
Even Hide Block would work 🥺
from warp.
Related Issues (20)
- Extremely slow and laggy performance comparing to default terminal HOT 5
- Completions broken when cursor inside double-quotes HOT 1
- Lag + Graphics Gliches while running ncmpcpp HOT 5
- Linux ARM64: can't copy paste HOT 6
- Amazon Q Developer Integration HOT 1
- Global HotKey is not working HOT 7
- Where to get original theme colors? HOT 1
- Bun not working on warp HOT 2
- Laggy behavior on Linux HOT 10
- More Customisation for Prompt Date & Time Segments HOT 1
- A vs-code editor in terminal HOT 2
- A single instance runs multiple processes of warp-terminal on linux - curious to know why HOT 1
- Autocompletion for bun like for pnpm yarn for package.json scripts. HOT 1
- Can't copy content from Warpified subshell block HOT 3
- Shell sessions running lazydocker over SSH become unusable after losing the SSH connection HOT 4
- nvim meta shortcuts don't work HOT 1
- A winit window appears for half a second and closes. HOT 1
- Not all fonts gets detected in linux. HOT 1
- getting support is too difficult HOT 2
- can't clear history HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from warp.