feat: improve Terminal emulator performance
This commit is contained in:
1 parent
69a16a10a0
commit
d340e01e56
5 files changed
+543
-207
No files matched your search
@@ -148,6 +148,7 @@ static void klog_handle_mouse(const Montauk::WinEvent& ev) {
|
||||
static void klog_cleanup() {
|
||||
if (g_klog.term.cells) montauk::free(g_klog.term.cells);
|
||||
if (g_klog.term.alt_cells) montauk::free(g_klog.term.alt_cells);
|
||||
if (g_klog.term.render_cells) montauk::free(g_klog.term.render_cells);
|
||||
if (g_klog.klog_buf) montauk::mfree(g_klog.klog_buf);
|
||||
montauk::memset(&g_klog, 0, sizeof(g_klog));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user