Maximus5 / conemu-inside

An example, how to embed http://conemu.github.io/ into another graphical application
57 stars 42 forks source link

ConEmu Asserts When Its Host HWND Is Resized to (0,0) Size #2

Open hypersw opened 8 years ago

hypersw commented 8 years ago
Assertion in P:\External\gitextensions\GitExtensions\bin\Debug\ConEmu\conemu.exe [151210]
nNewWidth>0 && nNewHeight>0
at
RealBuffer.cpp:1819
hypersw commented 8 years ago

ConEmu side: would be more reliable to withstand zero sizes against one or both dimensions.

Control side: set minsize to prevent sending such sizes (though this cannot be guaranteed when embedded into the layouting system of the real app).

Maximus5 commented 8 years ago

Perhaps, the control (via ConEmu implementation of course) may provide settings for minimal console size in characters? For example, if ConEmu is resized smaller than 40x15, than ConEmu must use scrolling instead of decreasing real console size? Especially because prior to Win10 real console loses previously printed data.