Closed theholyduck closed 9 years ago
Things I can think of:
%
to something elseIn 1st way, let's say user changed it to ^
what if we get a link like this: http://blabla.com/^C5^C4
then it will break again. 2nd way: Users have to type back tick every time they want to add a link. So bothersome IMO. I think the best way is 3rd way because user won't have to do anything. Things will just work as before, no configuration needed.
What do you suggest?
i mean, in a perfect world, it wouldnt use any regularly used ascii characters. it would just be a keyboard shortcut like the ctrl+c on irsii or the ctrl+k on hexchat, that just inserts the invisible ascii character. with some sort of visual indication that you just did this.
if this really isnt an option, i think i prefer being able to set my own ascii character for you to parse.
I think a keyboard shortcut is possible. I can do this so there will be two options:
But first I need to make sure IRCCloud is not using Ctrl+C or Ctrl+K etc.
Edit: Working on keyboard shortcuts, it might take 1 week.
Err... IRCCloud might not be using Ctrl-C, but the OS does for copying on Windows and Linux. Might not be the best idea to use that one.
and irccloud does use ctrl+k. irssi does use ctrl+c on linux and windows, but its in a terminal so it uses a different way of copy and pasting anyway. im not entirely sure what another viable keyboard shortcut would be
Ctrl-shift-c/k is a possibility.
Firebug uses Ctrl+Shift+C, Ctrl+Shift+K opens "Jump to channel" dialog (IRCCloud bug) Almost everything Ctrl+Shift+? used by some add-on in my Firefox, but I managed to find Ctrl+Shift+Z to be empty.
Implementation is complete. Here's how it works: You press Ctrl+Shift+Z (we will change this based on consensus) then press a Style key (C for Color, B for Bold) etc.
Textbox turns blue to indicate it is waiting for a Style key.
In this example GIF, I press Ctrl+Shift+Z then C (for color)
You may want to make the key input configurable. That way users can use whatever works best for their setup.
Yes I am going to do that actually :)
It might be better to switch this to have the keyboard shortcut insert %C %B etc. That way there is visible input on all browsers.
Yeah I can do that (a visual for inserted characters) with some sort of hack but why work?
If you try to link a webpage that uses non ascii characters that are replaced with a %C# it will break the link and color the bits after it.
is there some way of making the control code used to initiate this configurable. so i dont have to keep turning the feature on and off?
example link that you cant send while the script is enabled.
https://en.wikipedia.org/wiki/Kar%C5%8Dshi