input_history is part of user specific state so I feel it should use $XDG_STATE_HOME/visidata instead of $XDG_CONFIG_HOME/visidata/. While I can easily fix this personally by adjusting the config.py, I feel it may be worth it to have the default be $XDG_STATE_HOME/visidata as $XDG_CONFIG_HOME is often managed by git and putting a continuously changing file there requires some extra work for most users to manage.