Skip to content

Commit

Permalink
Enable virtual terminal processing or disable ANSI escape codes
Browse files Browse the repository at this point in the history
See #132
  • Loading branch information
Martchus committed Jun 7, 2022
1 parent 7ce0508 commit a90e79b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cli/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ set(TEST_HEADER_FILES)
set(TEST_SRC_FILES tests/application.cpp)

# find c++utilities
find_package(${PACKAGE_NAMESPACE_PREFIX}c++utilities${CONFIGURATION_PACKAGE_SUFFIX} 5.10.0 REQUIRED)
find_package(${PACKAGE_NAMESPACE_PREFIX}c++utilities${CONFIGURATION_PACKAGE_SUFFIX} 5.16.0 REQUIRED)
use_cpp_utilities()

# find qtutilities
Expand Down
1 change: 1 addition & 0 deletions cli/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
int main(int argc, char *argv[])
{
SET_APPLICATION_INFO;
CMD_UTILS_HANDLE_VIRTUAL_TERMINAL_PROCESSING;
CMD_UTILS_CONVERT_ARGS_TO_UTF8;
QCoreApplication coreApp(argc, argv);
Cli::Application cliApp;
Expand Down
2 changes: 1 addition & 1 deletion tray/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ set(REQUIRED_ICONS
window-close)

# find c++utilities
find_package(${PACKAGE_NAMESPACE_PREFIX}c++utilities${CONFIGURATION_PACKAGE_SUFFIX} 5.6.0 REQUIRED)
find_package(${PACKAGE_NAMESPACE_PREFIX}c++utilities${CONFIGURATION_PACKAGE_SUFFIX} 5.16.0 REQUIRED)
use_cpp_utilities()

# find qtutilities
Expand Down
1 change: 1 addition & 0 deletions tray/application/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ int runApplication(int argc, const char *const *argv)
// setup argument parser
SET_APPLICATION_INFO;
CMD_UTILS_CONVERT_ARGS_TO_UTF8;
CMD_UTILS_HANDLE_VIRTUAL_TERMINAL_PROCESSING;
ArgumentParser parser;
// Qt configuration arguments
QT_CONFIG_ARGUMENTS qtConfigArgs;
Expand Down

0 comments on commit a90e79b

Please sign in to comment.