ciembor / 4bit

Terminal Color Scheme Designer
http://ciembor.github.io/4bit/
GNU General Public License v3.0
994 stars 187 forks source link

OSX Terminal support #5

Open ciembor opened 12 years ago

ciembor commented 12 years ago

Some people were asking for OSX terminal support. It looks to be very tricky: http://www.reddit.com/r/osx/comments/yp6ea/how_is_terminalapp_data_coded/

ciembor commented 12 years ago

Values are indeed coded with base64. Here are some decoded values from https://github.com/tomislav/osx-lion-terminal.app-colors-solarized/blob/master/Solarized%20Dark.terminal.

It really looks like binary data (dumb developers:|).

ciembor commented 12 years ago

Some of colors look to have different format:

bplist00ÔX$versionX$objectsY$archiverT$top�† £U$nullÓ  

V$class\NSColorSpaceUNSRGB€F1 0 0�ÒZ$classnameX$classesWNSColor¢XNSObject_NSKeyedArchiverÑTroot€#-27;AHO\bdfmr}†Ž‘š¬¯´����������������������������¶