The main thread was used as BApplication thread and a new thread as

worker thread. That sounds somehow reasonable, but has the problem that
signals to the process hit a thread that doesn't know how to handle
them. Fortunately the author already prepared the code to switch the
thread tasks. In the Terminal vim does now correctly react on window
resizes. Probably also fixes #2393.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26034 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2008-06-20 00:56:05 +00:00
parent b43255b9f7
commit 10a01828a1
+1 -1
View File
@@ -1892,7 +1892,7 @@ vim_unlock_screen()
gui.vimWindow->Unlock();
}
#define RUN_BAPPLICATION_IN_NEW_THREAD 0
#define RUN_BAPPLICATION_IN_NEW_THREAD 1
#if RUN_BAPPLICATION_IN_NEW_THREAD