Giter VIP home page Giter VIP logo

Comments (7)

IonicaBizau avatar IonicaBizau commented on August 19, 2024

I use tmux everyday, but this looks like you haven't enabled 256 colors in tmux.

Put this in your conf file:

set -g default-terminal "screen-256color"

I also have the following in my .bashrc:

export TERM=xterm-256color

I don't know which ones enables 256 colors, but you can try and tell me. 😄

from git-stats.

tobegit3hub avatar tobegit3hub commented on August 19, 2024

Oh, both of them don't work. It may be the problem of my Ubuntu. The tmux in my Mac OS just works like a charm without any other configuration.

from git-stats.

IonicaBizau avatar IonicaBizau commented on August 19, 2024

@tobegit3hub Please post your tmux version (tmux -V). In the meantime, check if starting tmux using tmux -2 solves the problem.

from git-stats.

tobegit3hub avatar tobegit3hub commented on August 19, 2024
➜  ~  tmux -V
tmux 1.9a

tmux -2 works well like a charm even though I don't know why. Thanks 👍

from git-stats.

tobegit3hub avatar tobegit3hub commented on August 19, 2024

It may be the issue of tmux, not git-stats.

from git-stats.

IonicaBizau avatar IonicaBizau commented on August 19, 2024

tmux -2 forces tmux to support 256 colors. Anyway, this is definitely a tmux issue.

/cc @lcristianiim Any explanations why tmux -2 fixes the problem?

from git-stats.

lcristianiim avatar lcristianiim commented on August 19, 2024

For some reason tmux can't start with 256 colors suport. On my machine I always start tmux with tmux -2.

Until now I did not find a better solution.

See:
http://unix.stackexchange.com/questions/175182/tmux-ignores-the-configuration-files

from git-stats.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.