# HG changeset patch # User František Kučera # Date 1543849900 -3600 # Node ID 47fb4bb3db4514530a1d18a40c2bc0228ff762f8 # Parent 23354fc917f47191128fff2e35e8c374847b1c43 CLI: untieStdIO() to avoid unwanted implicit flush() calls on std::cout → less write() calls diff -r 23354fc917f4 -r 47fb4bb3db45 src/relpipe-out-gui.cpp --- a/src/relpipe-out-gui.cpp Sat Dec 01 23:22:41 2018 +0100 +++ b/src/relpipe-out-gui.cpp Mon Dec 03 16:11:40 2018 +0100 @@ -63,6 +63,8 @@ }; int main(int argc, char**argv) { + setlocale(LC_ALL, ""); + CLI::untieStdIO(); CLI cli(argc, argv); // TODO: argument name collisions? Filter arguments? Use prefix for Qt? Qt: -title, -style, -geometry QApplication app(argc, argv);