aminal/config
Menno Finlay-Smits 4710948cd1 Decouple vttest tests from user's config (#258)
* 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.
2019-03-13 15:57:08 +02:00
..
actions.go #195 Real buffer clearing (#246) 2019-03-07 12:22:57 +02:00
colours.go text selection and copy/paste 2018-10-24 12:15:43 +01:00
colours_test.go things 2018-08-09 13:30:16 +01:00
config.go Decouple vttest tests from user's config (#258) 2019-03-13 15:57:08 +02:00
defaults.go Decouple vttest tests from user's config (#258) 2019-03-13 15:57:08 +02:00
keys.go Support alternative keyboard layouts 2018-11-30 21:32:10 +00:00
keys_test.go Support alternative keyboard layouts 2018-11-30 21:35:00 +00:00