Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

brightblack same as black? #8

Closed
singpolyma opened this issue Dec 13, 2015 · 15 comments
Closed

brightblack same as black? #8

singpolyma opened this issue Dec 13, 2015 · 15 comments

Comments

@singpolyma
Copy link

I have one of my mutt colours set to "brightblack" which on most terminals shows as a sort of darkish gray. On term48 it shows the same as the black background and so is invisible.

@mordak
Copy link
Owner

mordak commented Dec 13, 2015

Yes, Term48 supports 8 colours (following the qansi and / or xterm-color terminfo spec), but supporting more colours shouldn't be too hard. I'll have a look at xterm-16color and xterm-256color and see what I can come up with. If there isn't too much extra stuff in there then it should be straightforward to support.

@mordak
Copy link
Owner

mordak commented Dec 18, 2015

Try version 0.4.1.2 in BB World (currently Draft, so go through the Developer menu). I think this one has the kinks worked out of many of the new features, and I implemented xterm-256color.

@singpolyma
Copy link
Author

hmm, brightblack still showing same as black in my mutt. Also now my cyan band on the selected item seems to have a black chunk out of it

@singpolyma
Copy link
Author

Your account on my server is active if that will maybe help :) Thanks for all your efforts!

@mordak
Copy link
Owner

mordak commented Dec 18, 2015

Hmm.. I will have a look and see what's going on. Thanks!

@mordak
Copy link
Owner

mordak commented Dec 18, 2015

Okay, mutt is sending SGR 0;1;30;40, which means bold black text on black background. I took a look at the suckless simple terminal, and they are rendering bold colours as the bright counterparts, which seems straightforward to do. Will try to get it sorted over the weekend.

@mordak
Copy link
Owner

mordak commented Dec 19, 2015

And for the missing chunk from the top band there, this looks like a difference in the interpretation of EL. Mutt is sending EL (erase to end of line) after drawing the last character in the top menu. Term48 is literally erasing the rest of the line (setting NULL), but it looks like the expected norm is to maintain the current background colour. Should be not-too-hard to change the behaviour. Thanks!

@mordak
Copy link
Owner

mordak commented Dec 19, 2015

Okay, 4.1.4 is up in Draft, and implements Bold => Bright, and EL uses the current style. vttest has some color tests (how did I not find these before?), and the EL/ED color tests are also passing.

@singpolyma
Copy link
Author

awesome! working great!

@mordak
Copy link
Owner

mordak commented Dec 19, 2015

Hooray! I am going to submit this version for Approval. Thank you for your efforts testing and patience with the intermediate builds. I really appreciate it. :-)

@HosseinHaida
Copy link

hey there, I'm new to the environment, what is the command to change the color to classic green on term48?

@mordak
Copy link
Owner

mordak commented Apr 21, 2016

Changing the default text color is done through the .term48rc file. This is documented in the README in the discussion of the text_color preference, which should be set to [0, 255, 0] for green.

@HosseinHaida
Copy link

                                                                                  sorry, you actually meant here? (the pic in the attached file) Cause I can't reach [255, 255, 255] to edit                                                                                                                                                                                                                                                                                                                                        Sent from my BlackBerry 10 smartphone.                                                                                                                                                                                                                From: mordak‎Sent: Friday, April 22, 2016 01:48To: mordak/Term48Reply To: mordak/Term48Cc: CrackerJoe1; CommentSubject: Re: [mordak/Term48] brightblack same as black? (#8)Changing the default text color is done through the .term48rc file. This is documented in the README in the discussion of the text_color preference, which should be set to [0, 255, 0] for green.

—You are receiving this because you commented.Reply to this email directly or view it on GitHub

@HosseinHaida
Copy link

                                                                                  I also can't find the. Term48rc file anywhere on my passport BlackBerry, just confused                                                                                                                                                                                                                                                                                                                                        Sent from my BlackBerry 10 smartphone.                                                                                                                                                                                                                From: mordakSent: Friday, April 22, 2016 01:48To: mordak/Term48Reply To: mordak/Term48Cc: CrackerJoe1; CommentSubject: Re: [mordak/Term48] brightblack same as black? (#8)Changing the default text color is done through the .term48rc file. This is documented in the README in the discussion of the text_color preference, which should be set to [0, 255, 0] for green.

—You are receiving this because you commented.Reply to this email directly or view it on GitHub

@mordak
Copy link
Owner

mordak commented Apr 22, 2016

This kind of support is best done over email. Please send me an email at mordak48@gmail.com and we can get you sorted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants