C++17's std::filesystem makes programming a file system watcher really simple. So this PR adds such capability to tev
tev can now open directories. This will load all images within the directory, optionally recursively when then -r/--recursive CLI option is present.
tev can now monitor opened files for changes and reload them, as well as monitor opened directories for new files and open those. This can be enabled by the -w/--watch CLI option and a new UI button.
This PR also includes a fix for unicode rendering in Windows terminals.
This PR also makes manual reloading of files (by pressing Ctrl+R / Ctrl+Shift+R or the respective UI buttons) asynchronous.
C++17's
std::filesystem
makes programming a file system watcher really simple. So this PR adds such capability to tev-r
/--recursive
CLI option is present.-w
/--watch
CLI option and a new UI button.