Irina Truong
Irina Truong
I'd like to give it a try.
mycli is using python-prompt-toolkit to handle console input/output. Starting from v3.0.14, python-prompt-toolkit lets you disable bell using an environment variable `PROMPT_TOOLKIT_BELL=false`: https://github.com/prompt-toolkit/python-prompt-toolkit/blob/7b28b254aba3452b4ac3a797942474d14c92561f/CHANGELOG#L41 Give it a try and let us know...
If you have mycli installed, you already have prompt-toolkit installed. Mycli would not work without it. `python -m pip freeze` would show you all installed python modules and their versions.
I guess I should have asked how you installed mycli in the first place. It was not `pip install mycli`?
So what does `pip freeze | grep prompt-toolkit` tell you?
I see. Not very helpful. How about this? ``` $ python >>> import prompt_toolkit >>> prompt_toolkit.__version__ '3.0.8' ``` If you have 3.0.14 or above, running mycli like this should work:...
You're right, Windows / PowerShell has different syntax. It would be something like this: ``` > $env:PROMPT_TOOLKIT_BELL = 'false' > mycli ``` I'm on a Mac, so I'm flying blind...
I see. I should give up on trying to fix a Windows problem! @dbcli/mycli-core are any of you able to try this on Windows?
Possibly a duplicate of https://github.com/dbcli/mycli/issues/978.
You can override table header style in your `~/.myclirc` (or `~/.config/pgcli/config`). See this line: https://github.com/dbcli/mycli/blob/05a0e4ad9523d839c610574326030ad180acaafe/mycli/myclirc#L110 Try setting background color explicitly to override that grey, for example: `bg:#000000 #ff0000 bold`. @jonathanslenders...