Warp icon indicating copy to clipboard operation
Warp copied to clipboard

Prompt in one line / Cursor in the same line with the prompt

Open AMATEURTOSS opened this issue 2 years ago • 96 comments

[WARP] Note to all users opening this issue:

  • Latest update: we're slowly rolling this out to folks, to ensure stability! Please see the comment here!
  • Please see prior update from Warp here. This is actively being worked on.

is there any option to make prompt in one line?

current behavior

~/some/location
something command -option

one line prompt

~/some/location > something command -option

How important is this feature to you?

1 (Not too important)

AMATEURTOSS avatar Dec 06 '22 11:12 AMATEURTOSS

+1 for the same feature

unbreakabl3 avatar Dec 06 '22 15:12 unbreakabl3

Thanks for this feature request! Please :+1: and subscribe to this request as it helps us gauge interest. We will post any updates here.

One of the main features of Warp is its multi-line input editor which works like an IDE or modern text editor. This allows you to write/modify commands with the help of a keyboard/mouse, Autocompletion, A.I. Command Search, etc before you run it.

CleanShot 2022-12-06 at 09 35 34

dannyneira avatar Dec 06 '22 16:12 dannyneira

+1 this would be great to have

B0Y3R avatar Jan 05 '23 19:01 B0Y3R

@dannyneira totally understood - and we thank you for an excellent terminal++! my issue, a blinking cursor on a new line in any other terminal (which i'll still have to use elsewhere) means there is a long-running process happening. Hard to shake that feeling! 🤞 there's a cheap and easy way to bring the standard behavior back.

bryanlatten avatar Jan 06 '23 04:01 bryanlatten

@bryanlatten We've released the option to disable the blinking cursor, see more on this here: https://docs.warp.dev/appearance/text-fonts-cursor#cursor Hope that helps!

dannyneira avatar Jan 09 '23 16:01 dannyneira

Thanks for this feature request! Please 👍 and subscribe to this request as it helps us gauge interest. We will post any updates here.

One of the main features of Warp is its multi-line input editor which works like an IDE or modern text editor. This allows you to write/modify commands with the help of a keyboard/mouse, Autocompletion, A.I. Command Search, etc before you run it. The prompt is in its own separate line because if needs to be rendered/updated before every command is run, so the two are separate, unlike with traditional terminals where the prompt and input are on the same line (not as feature-rich) CleanShot 2022-12-06 at 09 35 34

With a busy terminal - inputs, prompts and headers gets combined and it gets really messy and confusing, so switching to one-line will be very useful in this case.

Also for people trying to switch to warp from iTerm (90% of people most likely) its kinda hard to get used to the multiline editor.

IDEA: Default will be one-line editor and when the user hits cmd+enter or shift+enter it switches to the multiline editor with the input that was already typed beforehand. or Default will be the multiline with an option to swap the default in preferences.

Please let me know what you think. Thanks for the great terminal! :)

Noamko avatar Jan 18 '23 12:01 Noamko

^^ love the idea of a toggle. feature-rich vs. not feature-rich

bryanlatten avatar Jan 18 '23 14:01 bryanlatten

+1 would be nice to have. Make or break from switching over

tmlane avatar Jan 26 '23 18:01 tmlane

+1

GreenPatrick2 avatar Mar 08 '23 10:03 GreenPatrick2

+1

I've lost valuable time by committing stuff to the wrong branch simply because I don't read the line above as much as the line with the input. This feature is very dear to me. I do not use multi-line that much (yet?).

reimund avatar Mar 09 '23 08:03 reimund

+1, I tried to find option to keep prompt on one line and that is not possible??

MarkoTurunen avatar Mar 30 '23 10:03 MarkoTurunen

+1, important for me, this is one of the main reason sometimes i switch to iterm.

NIVJAIN avatar Apr 05 '23 00:04 NIVJAIN

+1, Very annoying for me to use warp.

code-yeongyu avatar Apr 07 '23 05:04 code-yeongyu

+1. While the "2 line prompt" and "multi-line" feature is interesting and has it's place, 95% of my terminal use happens on one line, and compromises required to support this "convienient 5% of the time" are really big, for me at least.

IMHO, not having a prompt followed by a cursor has always meant "the computer is not ready for input". I look the left of the cursor to check my context always (am I in the right directory/context? the right user? the right host? ... Yes? OK, start typing. Done typing... check again, hit enter.).

This matters very much when you spend a lot of time in root/priveledged contexts. This multiline thing breaks that basic understanding, which makes it harder for me to use as a daily driver terminal.

Making it harder to use as a daily driver means that it's harder to learn and benefit from the code blocks, multiline editing, ai suggestions, and so on - simply because you are less likely to be in Warp when the situation comes up, so you solve it the way you always have in the past.

It's especially confusing to me that it still functions like a single-line terminal by default -- you type a command, you hit enter, it runs -- so that "multi-line" stuff that people keep talking about still requires active learning -- if you are really trying to sell the world on multiline editing, why isn't it SHIFT-ENTER to actually run the command(s) you've just typed, and enter to just move to the next line?

I also HATE that so much vertical space is taken up by all this prompt/context stuff -- most folks I know have a short prompt with just key context. If having 40+ characters of Context Stuff is darn important, why not just the current context "float" above the current prompt, and then STICK it in the scroll-back log only WHEN IT CHANGES -- that way, when you scroll back, you could have a clean lists of commands, and only have the extra junk when contexts change? (I grew up on 25 line terminals though, and I recognize that I might be more jealous of that vertical space than others!)

I would LOVE this thing 1000x more if, as @Noamko suggested above, it could be 1 line by default, and cmd-enter or shift-enter or something to bump it into multiline mode on the fly.

You guys have written a truly fast nifty terminal, and I love it, but I can't daily drive it :( Apple Terminal remains my daily driver because this 2-line prompt thing is such constant sandpaper on my brain.

Hope that's helpful, and regardless, mad props to all y'all for doing some mighty fine software engineering. It's been a long time since anything this exciting has happened in the terminal space.

cedricpuddy avatar Apr 08 '23 14:04 cedricpuddy

I just started using warp and this is super confusing and I would like to have it all in one line.

SebiBasti avatar Apr 09 '23 15:04 SebiBasti

Having prompt in two lines is very confusing as I have been using one line prompt all my life. Should acknowledge that people have different habits and give users different options.

zkl94 avatar Apr 10 '23 21:04 zkl94

I’ve been using warp several months and now switching back to iterm2 because of this. I cannot get used to two line prompt, it still feels weird. Warp is great product, but I cannot believe that this kind of design flaw still exists. I’ll be tagged to this CR and hopefully it gets fixed/implemented so I can switch back. Thanks!

MarkoTurunen avatar Apr 11 '23 02:04 MarkoTurunen

+1 and How important is this feature to you? VERY IMPORTANT

umutbasal avatar Apr 26 '23 05:04 umutbasal

+1, I love to this feature

JINWOO-J avatar Apr 27 '23 02:04 JINWOO-J

yes, it should have capabilities of a normal terminal also, +1

usatenko avatar May 23 '23 20:05 usatenko

This is the only thing blocking me from using it everyday, it kinda throws me off thats not in the same line

Pyrathar avatar Jun 06 '23 14:06 Pyrathar

it would be good if it would have the option to use it as a regular terminal without any additional beautifializers, just standard terminal with one key dropdown option enabled, it would be veeeery convenient

usatenko avatar Jun 06 '23 16:06 usatenko

This issue been here since Dec 2022, so better look at other options. Luckily there are other options.

MarkoTurunen avatar Jun 08 '23 14:06 MarkoTurunen

p10k has this config, will Warp have this option when p10k supported? image

Bryant-Yang avatar Jun 09 '23 02:06 Bryant-Yang

We don't currently support P10K, but we're working on it.

Please add a :+1: to the original post at the top to signal that you want this feature (we take this factor into account when deciding what to work on next), and then hit the subscribe button if you'd like to be notified.

dannyneira avatar Jun 12 '23 23:06 dannyneira

+1 was looking for this since day 1 for warp.

NIVJAIN avatar Jun 24 '23 03:06 NIVJAIN

+1

aibangjuxin avatar Jul 13 '23 13:07 aibangjuxin

+1

ZeKap avatar Jul 13 '23 17:07 ZeKap

+1

carlosfrodriguez avatar Jul 28 '23 07:07 carlosfrodriguez

I'm looking to switch to warp from iterm2 and unfortunately without a 1 line prompt I can't switch to warp as my daily driver

zakiaziz avatar Aug 09 '23 18:08 zakiaziz