-
Notifications
You must be signed in to change notification settings - Fork 139
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
Support 256color #82
Support 256color #82
Conversation
It works fine for me. Thank you @jixiuf |
I tried this patch. I don't see any changes in the visual appearance (which is still broken with solarized, the theme I am using). |
@Sbozzolo: What is your term currently? |
|
My term is |
I have set the same ansi colors for both emacs and iterm |
I don't set anything. I run everything inside emacs. I use eterm-256color
for providing ansi-term with the support for 256 colors.
Anyhow, I was hoping that this PR addressed the issue discussed in #56, but
it seems that it is not the case.
Thanks for the support!
…On Mon, Apr 22, 2019, 21:15 Minh Nguyen-Hue ***@***.***> wrote:
I have set the same ansi colors for both emacs and iterm
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#82 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACF6E7ITKCC6CALPI7CH7D3PR2EMZANCNFSM4HHQRPBA>
.
|
I think the 8 color in ansi-color-names-vector is not enough https://github.com/akermu/emacs-libvterm/blob/master/vterm-module.c#L460 maybe we need revert 39d4c44 and 976c3f2
EDIT: the default value of faces in @Sbozzolo you can custom vterm faces after load your theme like this
|
a4cd12d
to
3a2a5d9
Compare
I checked out the latest commit, and I was extremely happy to see that it works! Screenshot to compare XTerm, VTerm and term: |
280f7b6
to
7a4220e
Compare
can not reproduced with theme color-theme-sanityinc-solarized @Sbozzolo |
This is my setting for the theme. I have nothing relevant in the `custom.el`.
```
(use-package color-theme-sanityinc-solarized
:config
(load-theme 'sanityinc-solarized-dark t)
;; Flat modeline
(set-face-attribute 'mode-line nil :box nil)
(set-face-attribute 'mode-line-inactive nil :box nil)
;;(load-theme 'sanityinc-solarized-light t)
)
```
As you see, I don't do anything peculiar.
jixiuf writes:
… can not reproduced with theme color-theme-sanityinc-solarized @Sbozzolo
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.*
|
can you try to run and install color-theme-sanityinc-solarized |
I performed some tests. If load emacs with the theme and vterm only, then I get the screenshot above. If I load emacs with vterm, and once emacs is running I load the theme, then the colors are slightly different, and the column name in Do you have suggestions for understanding what is going on? |
trying change the order of loading vterm and your theme, and see what's going on ,
|
Changing order, or using the lambda you posted changes nothing. |
@jixiuf Is this ready to be reviewed or are you still working on this? |
I rebased the code ,and now is ready to be reviewed |
e455410
to
3ae88ca
Compare
@jixiuf I'm facing this issue with Emacs 26.2. I'm using latest code. Any idea?
|
@qhuyduong |
@jixiuf my bad. I just build and update vterm-module.so without updating vterm.el. Thank you very much :D |
I don't know if the following comment is needed/wanted/welcomed, but: |
after last commit ,the bug should be fixed. or maybe we can create PR to different theme packages for this package instead of require term.el |
I checked out the latest commit. There are still imperfections in the rendering. Btw: thanks for all your contributions to this package, they are invaluable! |
I compare vterm and iterm2 ,and found they both are imperfections in the rendering ,like the first screenshot you attached. so I thinks it should be the problem of the theme. |
rebase the code. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice, thanks a lot!
#58