tpapp / julia-repl

Run an inferior Julia REPL in a terminal inside Emacs
Other
171 stars 35 forks source link

More colors #16

Closed mauro3 closed 5 years ago

mauro3 commented 6 years ago

It would be good to have more colors. For instance @code_warntype does not show any red code.

I did some digging https://github.com/atomontage/xterm-color/issues/2, see also link in the last comment.

tpapp commented 6 years ago

I don't have the resources to pursue this, but pull requests are always appreciated.

mauro3 commented 6 years ago

No probs. And I don't have them either.

kadir-gunel commented 6 years ago

Hello @mauro3 @tpapp , I started to use julia-repl recently and discovered that if you use OhMyREPL.jl package inside juli-repl mode and call its color schemes function : OhMyREPL.colorschemes() then you can see which color schemes are supported inside emacs.

ffevotte commented 5 years ago

It looks like eterm-256color provides just what's needed here: 256-color support for term-based buffers.

So, if MELPA is correctly set up, something like this should be enough (adapt if you're not using use-package):

(use-package eterm-256color
  :ensure t
  :config
  (add-hook 'term-mode-hook #'eterm-256color-mode))