Chop linefeed from a single line selection
authorManuel Nickschas <sputnick@quassel-irc.org>
Fri, 20 Feb 2009 08:31:41 +0000 (09:31 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Fri, 20 Feb 2009 09:12:12 +0000 (10:12 +0100)
commitb58959b95b701109499596fce34f1eea9f6bab36
tree51eaffcb04c6e43502cb8ea5117b8d3f88012698
parent94c044f0b66f18df2f84e84fc6b2c183db39152f
Chop linefeed from a single line selection

This will chop a trailing linefeed for a single selected line, so you can paste it without
sending it. Note that the behavior for multi-line selecions is still the same (you'd be pasting
all but the last line in that case, which doesn't make much sense).
src/qtui/chatscene.cpp