fix(controller): don't draw window if writing to stdout (#1322)
fixes #1314.
This commit is contained in:
parent
01fc545e09
commit
4cb0b18389
@ -348,7 +348,12 @@ void controller::read_events() {
|
|||||||
*/
|
*/
|
||||||
void controller::process_eventqueue() {
|
void controller::process_eventqueue() {
|
||||||
m_log.info("Eventqueue worker (thread-id=%lu)", this_thread::get_id());
|
m_log.info("Eventqueue worker (thread-id=%lu)", this_thread::get_id());
|
||||||
m_sig.emit(signals::eventqueue::start{});
|
if (!m_writeback) {
|
||||||
|
m_sig.emit(signals::eventqueue::start{});
|
||||||
|
} else {
|
||||||
|
// bypass the start eventqueue signal
|
||||||
|
m_sig.emit(signals::ui::ready{});
|
||||||
|
}
|
||||||
|
|
||||||
while (!g_terminate) {
|
while (!g_terminate) {
|
||||||
event evt{};
|
event evt{};
|
||||||
|
Loading…
Reference in New Issue
Block a user