View Single Post
Old 01-08-2013, 03:18 AM   #124
Ondra
Member
Ondra is not intimidated by interfenestral monkeys.Ondra is not intimidated by interfenestral monkeys.Ondra is not intimidated by interfenestral monkeys.Ondra is not intimidated by interfenestral monkeys.Ondra is not intimidated by interfenestral monkeys.Ondra is not intimidated by interfenestral monkeys.Ondra is not intimidated by interfenestral monkeys.Ondra is not intimidated by interfenestral monkeys.Ondra is not intimidated by interfenestral monkeys.Ondra is not intimidated by interfenestral monkeys.Ondra is not intimidated by interfenestral monkeys.
 
Posts: 12
Karma: 26916
Join Date: Jan 2013
Device: Kindle3
Colors in myts

Thank you to all for great terminal app for kindle. There is bug with colors in myts. I thing that myts accept only one paramater in esc[ sequence... You can see right colors representation and on second picture screenshot from myts and kindle. I thing that colors handling is done in terminal.c:

terminal.c: * for foreground color, the next 3 bits are background color.
terminal.c: * attributes -- we use bits for foreground and bg color.
terminal.c: case 30: /* Set foreground color: black */
terminal.c: case 31: /* Set foreground color: red */

....

Can anyone help me with solving this problem ??
Attached Thumbnails
Click image for larger version

Name:	moz-screenshot.png
Views:	66
Size:	25.0 KB
ID:	99004   Click image for larger version

Name:	barvy.png
Views:	93
Size:	5.8 KB
ID:	99005  
Ondra is offline   Reply With Quote