Giter Site home page Giter Site logo

Where all the colors? about bed HOT 6 CLOSED

itchyny avatar itchyny commented on May 10, 2024
Where all the colors?

from bed.

Comments (6)

itchyny avatar itchyny commented on May 10, 2024

The bed command does not support this kind of coloring because it makes difficult to make it visible for both light and dark terminals. The issue report is unclear for what is expected, so closing.

from bed.

abitrolly avatar abitrolly commented on May 10, 2024

@itchyny how does vim and oh-my-zsh handle this then? Do you use any syntax highlighting in terminal?

from bed.

itchyny avatar itchyny commented on May 10, 2024

Some terminal tools have color themes feature, but I don't implement it in the bed command because that's not what I want to put effort to. Actually bed already uses light green color but I should minimize the use of colors, it is a thorny road.

from bed.

abitrolly avatar abitrolly commented on May 10, 2024

Why not to use "logical" color which can be painted according to palette specified in command line param?

from bed.

itchyny avatar itchyny commented on May 10, 2024

Your comments so far do not describe how you expect the hexes to be colored, what you need them for. In any cases, my current answer is I don't implement such colors because I don't need them and I want to keep the command simple as it is. If you want such colors, use different tools, thanks.

from bed.

abitrolly avatar abitrolly commented on May 10, 2024

@itchyny you didn't answer why you are not using discolored terminal either. :D

If you take a look at hexedit output, the coloring scheme separates hexes into four zones.

  1. (red) 00 - zeroes
  2. (grn) 01-1F - unprintable control characters
  3. (wht) 20-7F - lower, safe part of ASCII table
  4. (blu) 80-FF - higher part of ASCII table

The other editor uses colors to segment working areas.

from bed.

Related Issues (12)

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.