Code Monkey home page Code Monkey logo

Comments (5)

juho-p avatar juho-p commented on August 18, 2024 8

There is now config for tab colours: c79b48b

One could, for example, add following lines to ~/.minttyrc to get some silly bright tabs

TabForegroundColour=0,0,0
TabBackgroundColour=255,255,255
TabActiveColour=255,0,0
TabAttentionColour=0,255,0

Config window is missing these for now. Also, font configuration is also missing for now.

from fatty.

juho-p avatar juho-p commented on August 18, 2024 2

Such thing is not currently configurable. If you want to change the colors, you need to change the code.

In file src/winxx.cc, line 250, there are lines

const auto bg = RGB(0,0,0);
const auto fg = RGB(0,255,0);
const auto active_bg = RGB(50, 50, 50);
const auto attention_bg = RGB(0, 50, 0);

change the values in RGB(...). Values are in RGB colors (255,255,255) is white, (0,0,0) is black. bg means background, fg means foreground, active and attention are special background colors for active tab and attention tab.

Font can be changed by changine line 274, at CreateFont, change the Last 0 in the line to be a string of font name, like auto ofont = SelectWObj(bufdc, CreateFont(14 * g_yScale,0,0,0,0,0,0,0,1,0,0,CLEARTYPE_QUALITY,0,"Arial")); would maybe work. Size can be changed by replacing the 14 in that line by desired number.

I leave this issue open for now, since it would probably be a good feature to have in the future to be able to configure the tab colors and font.

from fatty.

 avatar commented on August 18, 2024

thanks for the replay

from fatty.

 avatar commented on August 18, 2024

How can I change key combination for shifting between tabs?

from fatty.

ThomasR avatar ThomasR commented on August 18, 2024

@Chandru2012 Looks like that is in wininput.c#win_key_down

from fatty.

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.