diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2015-06-22 22:41:50 +0200 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2015-06-22 22:41:50 +0200 |
commit | 730f801f1d75bc247c86f76345e71f9ea128a07d (patch) | |
tree | fdf51e89c6e6b023a8e0e0ab75d2cef0b1dd8f9f /src/interface-curses.cpp | |
parent | 6f48745171ab3ef898b24d8da9732c4f309b08c7 (diff) | |
download | sciteco-730f801f1d75bc247c86f76345e71f9ea128a07d.tar.gz |
major GTK UI rewrite: use a separate execution thread
* the execution thread does not block the main thread (with
the main loop).
* therefore if SciTECO executes a long-running macro,
the UI stays "responsive".
* also this allows us to handle ^C interruptions.
This is part of the solution to #4 for GTK+ UIs.
* to speed up execution and avoid frequent UI redraws
(now that we run concurrently, there are even more redraws),
the view change is applied only after key presses.
* also we freeze all UI updates on the view during SciTECO's
key processing.
* Closing the window, requests a graceful execution thread
shut down. This may later be extended to allow programmable
window close-behaviour using a special function key macro
(e.g. mapped to the "Break" key).
Diffstat (limited to 'src/interface-curses.cpp')
0 files changed, 0 insertions, 0 deletions