Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 157 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

If you hit Shift + Enter while writing a message in Chat and continue onto the new line, when you submit your message, it will be automatically converted into a code block. bug + freehand circle

Instead, it should be left as normal text.

share|improve this question
+1 , just for being productive in the face of the chat vortex. – Aiden Bell Jul 14 '10 at 22:27
@Aiden if you call drawing a freehand circle productive. :) – Maxim Zaslavsky Jul 14 '10 at 22:42
It's obvious that the system assumes that a multi-line message is code pasted into the textarea, I don't think all browsers let you Shift + Enter. – Andy E Jul 14 '10 at 22:53
up vote 3 down vote accepted

For info, we're experimenting with some changes to this area:

  • by default, a multi-line message (or paste) is not treated as code (so no <pre>)
  • if, however, all the lines are indented it is treated as code; a bit like the editor here
  • with a button/keypress to automatically indent etc

This should give us a fairly consistent behaviour (vs SOFU/SE), while retaining the flexiblity to post both types of message

share|improve this answer

This is completely by design, though. The typical chat message will be a single line; anything other than that should be multiple chat messages.

share|improve this answer
Still, it's tripped me up about 100% of the times I've typed a multi-line chat (admittedly, that only means 3 times). Maybe disallowing shift+enter is better in this case? – Edan Maor Jul 14 '10 at 23:23
+1, I started writing an answer saying that I thought this would be by design, but demoted it to a comment instead. – Andy E Jul 14 '10 at 23:55

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .