Skip to content

Commit

Permalink
Disable sync with stdio
Browse files Browse the repository at this point in the history
This is just a helper for strace analysis in terminal environment. Pipe
operations like from icewm would already turn off the sync.
  • Loading branch information
Code7R committed Sep 28, 2024
1 parent 38552a7 commit 4fdb3ec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/fdomenu.cc
Original file line number Diff line number Diff line change
Expand Up @@ -567,6 +567,8 @@ int main(int argc, char **argv) {
// basic framework and environment initialization
ApplicationName = my_basename(argv[0]);

std::ios_base::sync_with_stdio(false);

#ifdef CONFIG_I18N
setlocale(LC_ALL, "");

Expand Down

0 comments on commit 4fdb3ec

Please sign in to comment.