Helge Hafting wrote:
To me, it looks like the c/c++ library buffered output, so it was impossible
Indeed, you need to flush the stream to see it. Abdel.
Index: GuiWorkArea.C =================================================================== --- GuiWorkArea.C (revision 17291) +++ GuiWorkArea.C (working copy) @@ -415,6 +415,16 @@ << " key=" << e->key() << endl; + static int i = 0; + if (e->isAutoRepeat()) { + lyxerr << ++i << " "; + lyxerr.flush(); + } + else if (i) { + i = 0; + lyxerr << endl; + } + boost::shared_ptr<QLyXKeySym> sym(new QLyXKeySym); sym->set(e); processKeySym(sym, q_key_state(e->modifiers()));