<Cinchy>
[gist] plugin_management.rb (at gist.github.com, dominikh on 2013-04-14 13:17)
<Khazix>
leftylink, thanks will try it!
postmodern has joined #cinch
rikai_ has joined #cinch
Khazix has quit [Quit: process.exit(0)]
Khazix has joined #cinch
rikai has quit [Ping timeout: 264 seconds]
rickmasta has joined #cinch
rickmasta has quit [Quit: Leaving...]
space has joined #cinch
kludge` has quit [Ping timeout: 245 seconds]
kludge` has joined #cinch
postmodern has quit [Ping timeout: 264 seconds]
rickmasta has joined #cinch
rickmasta has quit [Quit: Leaving...]
space has quit [Ping timeout: 256 seconds]
rikai_ has quit [Read error: Connection reset by peer]
rikai has joined #cinch
space has joined #cinch
v0n has joined #cinch
UberDragon has quit [Remote host closed the connection]
UberDragon has joined #cinch
Spami has joined #cinch
Spami has quit [Quit: This computer has gone to sleep]
jonahR has joined #cinch
rikai has quit [Read error: Connection reset by peer]
rickmasta has joined #cinch
jonahR has quit [Quit: jonahR]
space has quit [Remote host closed the connection]
jonahR has joined #cinch
rickmasta has quit [Quit: Leaving...]
rickmasta has joined #cinch
<UberDragon>
is there a function that strips colors in cinch?
<dominikh>
there's one that strips all non-printable characters, but that won't remove the number codes of the colours.
Spami has joined #cinch
Spami has quit [Changing host]
Spami has joined #cinch
<UberDragon>
hmm guess I need to come up with my own strip method.. those codes are messing with my files when saving to disk :/
<dominikh>
technically it's trivial, practically the color format is so brain dead that it's sometimes ambiguous whether something is a number or a color code
<dominikh>
which is why I never added a function for that
<UberDragon>
hmm
<dominikh>
it's an edge case though. irc clients have the same problem
<UberDragon>
is there anywhere to get a list of all the possible \x0313 type codes I may find?
<UberDragon>
hmm looks like color end is hex number
<UberDragon>
what is the function you have currently that removes the non printable characters?
<dominikh>
Cinch::Utilities::String.filter_string
<dominikh>
and there's nothing hex about mIRC color codes.
<UberDragon>
\x0315uberdragon\x0F:
<dominikh>
\3$fg or \3$fg,$bg – which are plain decimals
<UberDragon>
I'm seeing that \x0F come up places where it looks like it's supposed to terminate the colors
* UberDragon
shrugs
<dominikh>
0x0f (15) is the reset code that clears formatting
<dominikh>
2 is bold, 31 is underlined, 22 is reverse video/italic
<dominikh>
see lib/cinch/formatting.rb
<UberDragon>
k
rickmasta has quit [Quit: Leaving...]
Spami has quit [Quit: This computer has gone to sleep]
rickmasta has joined #cinch
space has joined #cinch
UberDragon is now known as Poorhees
rickmasta has quit [Quit: Leaving...]
rickmasta has joined #cinch
space has quit [Remote host closed the connection]
postmodern has joined #cinch
v0n has quit [Ping timeout: 264 seconds]
jonahR has quit [Quit: jonahR]
v0n has joined #cinch
rickmasta has quit [Quit: Leaving...]
rickmasta has joined #cinch
txdv has joined #cinch
rickmasta has quit [Quit: Leaving...]
Spami has joined #cinch
Spami has joined #cinch
Poorhees has quit [Remote host closed the connection]