KVIrc icon indicating copy to clipboard operation
KVIrc copied to clipboard

Ctrl+K doesn't work in the multiline input box.

Open DarthGandalf opened this issue 10 years ago • 8 comments

Reported by Andrio on 10 Dec 2012 05:49:31 UTC Currently there seems to be no way to input colour codes into the multiline input box, other than copying and pasting the raw control character. Pressing Ctrl+K inputs $k, but that doesn't do anything. Alt+03 doesn't do anything either. Also, $b and $o don't work.


Migrated from: https://svn.kvirc.de/kvirc/ticket/1347

DarthGandalf avatar Jul 26 '15 03:07 DarthGandalf

Confirmed this is still a bug in current dev builds.

un1versal avatar Dec 30 '15 05:12 un1versal

@AndrioCelos Well, this is KVS so $k is the KVS color control character, you need to add the color by numbers after. but it would be nice to get a colors popup to know which ones are which.

Changed this to feature request, since this is normal behaviors for KVS afaik.

un1versal avatar Jun 12 '16 12:06 un1versal

Did you try it? Your entry is only treated as KVS if it begins with a / and user-friendly mode is off.

AndrioCelos avatar Jun 12 '16 12:06 AndrioCelos

yes, with friendly mode on or off at the very beginning of the multi-line input (from empty) pressed ctrl+k and as expected $k is entered...

idk what else is supposed to do.

un1versal avatar Jun 12 '16 12:06 un1versal

what doesnt work is ctrl+i all other control characters in KVS are entered by pushing respective shortcuts

un1versal avatar Jun 12 '16 12:06 un1versal

Ive opened https://github.com/kvirc/KVIrc/issues/2011 because KVS should not require / before a command... that to me a a bug or faulty implementation

Im not sure what the best thing is either for this report, but it would be nice if you had a popup with the colors same as you do in normal input editor... and added a braket soon as you press Ctrl+k you get $k() since the color in KVS must be in between parenthesis also.

un1versal avatar Jun 17 '16 13:06 un1versal

what I can do for this is add make sure that $k() is output when pressing ctrl+k instead of just $k, because colors in KVS need to be surrounded by parenthesis as you know in $k(color) or $k(color,color) format...

else Im not sure much else can be done here, the bug here is really --> https://github.com/kvirc/KVIrc/issues/2011

un1versal avatar Jul 07 '16 08:07 un1versal

I'd be in favor of changing ctrl+<key> to be the normal control code instead of $<key>. You're not saving any substantial key strokes and it's more natural for it to be the control codes instead of the KVIrc function. This change would allow you to easily use either method in the box.

Replying to the $k with parentheses issue, a plain $k will reset the color back to default, so it shouldn't by default add the parentheses.

IceN9ne avatar May 21 '18 03:05 IceN9ne