9a45a56f04
Using Qt logging utilities instead of printf so that those warnings can be enabled/disabled. Those warnings are disabled by default. To enable them, use QT_LOGGING_RULES="qtermwidget.debug=true". Also improve the formatting. An example warning: Undecodable sequence: "\u001B[22;0;0t" Closes https://github.com/lxqt/qterminal/issues/640
15 lines
293 B
C
15 lines
293 B
C
#ifndef TOOLS_H
|
|
#define TOOLS_H
|
|
|
|
#include <QString>
|
|
#include <QStringList>
|
|
#include <QLoggingCategory>
|
|
|
|
QString get_kb_layout_dir();
|
|
void add_custom_color_scheme_dir(const QString& custom_dir);
|
|
const QStringList get_color_schemes_dirs();
|
|
|
|
Q_DECLARE_LOGGING_CATEGORY(qtermwidgetLogger)
|
|
|
|
#endif
|