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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user