mirror of https://github.com/liamg/aminal.git
* Make DefaultConfig safer Instead of having a global mutable DefaultConfig which might be changed by anything during run/test time turn DefaultConfig into a function which returns a fresh DefaultConfig. This is safer and more convenient. * Decouple vttest tests from user's config The screen capture tests were failing on my machine because the screen capture based vttest tests were using my personal config in ~/.config/aminal/config.toml. This had different colours and a fixed DPI scaling factor which mean the screen captures didn't match. The sixel tests were also failing because my login shell is a highly customised zsh. A static test config is now passed by the vttest tests and the shell is set to "/bin/sh" on Linux, OSX etc to help avoid problems due to differences between shells and shell configs. |
||
---|---|---|
.. | ||
actions.go | ||
colours.go | ||
colours_test.go | ||
config.go | ||
defaults.go | ||
keys.go | ||
keys_test.go |