The ionic shell tool uses colours by default which makes the output unreadable in a black-on-white console (KDE konsole on Ubuntu).
Is there an option to disable the colours, i.e. use the default text colour only?
If you look into the ionic sh you will see that they Using Node.js chalk.
you can start your command with parameters or set a global environment variable:
https://github.com/chalk/supports-color#info
Related
I am using Visual Studio Code for my python project and I am also using flakeheaven (fork of the unmaintained flakehell package) to manage flake8 and other linters/plugins. When running flakeheaven lint, it tries to print the output nicely with colors. Here's how it looks on my terminal (Windows terminal using Powershell Core):
I like this feature. However, When I run the lint command in the integrated terminal in VSCode, it doesn't display the colors, and instead displays weird ANSI sequences:
It looks like VSCode can't display the ANSI colors correctly in the terminal. I'd like to know if there is a way to fix this to get the same colorful output as in the external terminal.
Is there a way to make VSCode terminal display colored ANSI output correctly?
Tab completion in IPython is practically unusable because the text is so difficult to read.
Here's what I've tried:
I didn't have an ipython configuration file so I created one:
ipython profile create.
In my ipython_config.py I set c.InteractiveShell.colors = 'NoColors'. That made all my text white but the completion text didn't change.
I'm using the following software:
kitty terminal: 0.14.1
IPython: 7.5.0
Pygments: 2.4.2
prompt-toolkit: 2.0.9
I found a solution. It seems my terminal is using 24bit color and that must be interacting poorly with the defaults of IPython which defaults to 256 colors. You can test your terminal with this command:
printf "\x1b[38;2;255;100;0mTRUECOLOR\x1b[0m\n"
If you see 'TRUECOLOR', then your terminal supports true color.
I set that in my ipython_config.py file: c.TerminalInteractiveShell.true_color = True. Now the completion text is readable.
Whenever I execute cargo run, all colors in the console are displayed as color-codes. Other programs which display colors work normal and show the color.
When I redirect stdout like cargo run > output.txt all colors are shown just fine. This is the same for cmd, powershell and hyper (terminal emulator I use).
cargo 0.20.0 works as expected, but cargo 0.21.1 has the same bug as cargo#0.22.0.
I'm using Windows 10 16299.19. I'm not using the legacy console and I already deleted the Computer\HKEY_CURRENT_USER\Console in the registry to reset the cmd colors.
I then tried it on an other account on my machine and everything worked. A clean install of windows didn't help.
Issue on Github.
The problem was the term environment variable which doesn't work properly with the termcolor crate used by cargo.
I'm trying to install the budspencer theme for the fish shell. I install the theme using Oh-My-Fish with command
omf install budspencer
And although I installed the powerline fonts from https://github.com/powerline/fonts using the provided script (./install.sh), I'm still seeing missing icons from the prompt.
Any idea what I need to do fix this?
Looks like I needed to set the font in iTerm 2 manually. This fixed it
Hi I would like to ask if I can use the command line parameter /NOICONS command line to display no icons on desktop during and after the installation? will it shows no icons on desktop ?
Though not obvious, I assume this relates to Inno setup? I don't have an inno setup available to test with at the moment, but I assume you should be able to use /NOICONS to disable the default install of the shortcuts. Check the documentation here: http://www.jrsoftware.org/ishelp/index.php?topic=setupcmdline