fqless
fqless copied to clipboard
opening not supported file messes up colors
./fqless fqless
will after cloning using q
mess up the colors of the terminal.
This seems to be more compilicated. Did not find a quick solution yet.
Moreover this is terminal specific. On I3 debian testing this bug could not be reproduced only on ubuntu Xfce
The reason for this bug is, that ncurses redefines the colors of the terminal. Usually this happens only for the integers, used by the fastq file as quality values but can also happen for colors 1-8 usually used by terminals.
After exiting, the colors can not be restored by ncurses, there is no routine for it and the one written in this commit 34ad24528fa923b1dd458acb4e92c7a9e14051c4 does not work as expected (colors are to bright after restore).
Thus I now use colors from 256 down, so most of the colors used by fqless will not interfere with the usual colors of the terminal.
This bug is not fixed