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.87k stars 355 forks source link

Ability to view long history entries #1405

Open elviskahoro opened 2 years ago

elviskahoro commented 2 years ago

Discord username (optional)

No response

Describe the solution you'd like?

Long history entries are cut off when viewed from the history menu, it would be nice if there was a way to expand them.

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

No response

Additional context

No response

Warp Internal (ignore) - linear-label:efcea52d-0ab4-4a92-a41b-93c3e244f0a0

No response

divanodestiny commented 2 years ago

if cmds in history have difference number of lines, search history with button up would cause my dizziness

domderen commented 1 year ago

At the moment I think it is impossible to see the full command in History Search window for longer commands. This is annoying if I'm searching for a specific execution of a long command, as I have to guess which result I'm interested in. Maybe search results should be wrapped? Or this window should cover full width of the screen and allow vertical scrolling? Or maybe at least, if I'm moving up & down the search results list, the actual search result value could be presented in my input box?

Zrzut ekranu 2022-10-31 o 17 30 01
dannyneira commented 1 year ago

From #2140

When searching command history, I would like it to be screen width so I can see the whole command.

cparker commented 1 year ago

Loving Warp! But this issue is keeping me from switching from iterm2. Will check back in. Thanks!

dannyneira commented 9 months ago

Hey folks, as a possible workaround you can enter the command you want to find in history and press UP to show the full command, also if you want to use CTRL-R history search, you can expand the search panel to see more of the command. Another possible workaround is to run history | grep <your search here> which should show the full command run.

https://github.com/warpdotdev/Warp/assets/16809145/0a4ef9c8-0144-4aa2-a9bd-4b5c7bdeed3d

artemijan commented 8 months ago

Hey folks, as a possible workaround to this issue, try typing in the command you want to search into the input editor, then press UP arrow in the input, It should filter for those commands in your history and show the full command in the input editor as you go thru the results (with UP/DOWN arrows) Hopefully, this helps for seeing longer commands in your history. https://docs.warp.dev/features/entry/command-history

CleanShot.2023-11-17.at.14.28.33.mp4

Unfortunately this is not a solution for me, I have many curl commands, and often I want to find one of them, when I try to enter a part of the url (like domain) arrow up doesn't show any history, maybe because it's looking the command usage and not it's arguments. Would be nice to have it worked also for command arguments

ElijahLynn commented 2 months ago

I can't see the full command by pressing UP, I'm confused. And yeah, this is kinda a blocker for daily use. Not really a blocker but a very deep paper cut, and I feel it multiple times per hour.

My curl commands come up, but I can't see the end of them.