Feature #812

avatar

pass multi-line messages to engine as-is

Added by Oliver Schneider 4315 days ago. Updated 4293 days ago.

Status:Closed Start:02/09/2013
Priority:Normal Due date:
Assigned to:avatarOliver Schneider % Done:

100%

Category:Frontend GNOME
Target version:0.8.11
Complexity:

Medium

Votes: 0

Description

when sending more than one line (e.g. pasting source code or with Ctrl+Return), smuxi always splits it into multiple lines.
for xmpp messages this is not the preferred way.
I want some way of configuring this (on a per chat basis?)

Associated revisions

Revision 6b3305b48b8f0a1ff22f9521535b5b1de0b36382
Added by Oliver Schneider 4295 days ago

[Engine-IRC, Frontend-GNOME] Prevent splitting of (pasted) multiple lines into multiple messages except for irc (closes: #812)

History

Updated by Mirco Bauer 4304 days ago

avatar
  • Category set to Engine
  • Complexity set to Medium

Engine-Campfire has the same issue. Carlos wanted to implement paste-support for Campfire but couldn't because Frontend-GNOME splits each newline into a new CommandModel object in Entry._OnActivated().

I have no idea how the frontend should
a) tell multi-line messsage and a list of commands apart
b) pass the multi-line message to the engine

Maybe the frontend should detect newlines and assume it is possibly multiple messages and show a warning BUT should simply not touch/split the message and let the engine deal with splitting it up or not.

Updated by Mirco Bauer 4304 days ago

avatar
  • Subject changed from allow multi-line messages to pass multi-line messages to engine as-is
  • Category changed from Engine to Frontend GNOME

Updated by Mirco Bauer 4295 days ago

avatar
  • Assigned to set to Oliver Schneider
  • Target version set to 0.9

Updated by Oliver Schneider 4295 days ago

avatar
  • Status changed from New to Closed
  • % Done changed from 0 to 100

Updated by Mirco Bauer 4293 days ago

avatar
  • Target version changed from 0.9 to 0.8.11

Also available in: Atom PDF