It's one thing for the curses gui to get through startup without crashing.  
It's quite another thing to get through the startup properly. Today's work 
was an important and tricky intermediate step.

The new code properly sets g.app.gui to the singleton CursesGui object 
early in the startup logic.  The monkey-patched g.es, g.pr and g.trace 
top-level functions now work properly. It was *very* tricky work, because 
the tracing functions themselves didn't work until the very end.

At present, the gApp and gLog module-level globals in cursesGui2.py are 
workarounds to the usual communication problems that plague startup code. 
These globals will go away once wrapper classes properly wrap the raw 
npyscreen widgets. This will happen next, along with creating body and tree 
panes and *their* wrappers.

None of this could have happened without today's work.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to