Mercurial > vim
view src/os_w32dll.c @ 30513:ea15dfc9c155 v9.0.0592
patch 9.0.0592: display not cleared when scrolling back in messages
Commit: https://github.com/vim/vim/commit/838b746cce7ea863acdb81e3f44eec2ea90de92a
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Sep 26 15:19:56 2022 +0100
patch 9.0.0592: display not cleared when scrolling back in messages
Problem: Display not cleared when scrolling back in messages, a background
color is set and t_ut is empty.
Solution: Clear to the end of the display if needed. (closes #8973)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 26 Sep 2022 16:30:03 +0200 |
parents | 7ae2396cef62 |
children |
line wrap: on
line source
/* vi:set ts=8 sts=4 sw=4 noet: * * VIM - Vi IMproved by Bram Moolenaar * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. * See README.txt for an overview of the Vim source code. */ /* * Windows GUI: main program (DLL) entry point: * * Ron Aaron <ronaharon@yahoo.com> wrote this and the DLL support code. * Adapted by Ken Takata. */ #ifndef WIN32_LEAN_AND_MEAN # define WIN32_LEAN_AND_MEAN #endif #include <windows.h> void SaveInst(HINSTANCE hInst); BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) { if (fdwReason == DLL_PROCESS_ATTACH) SaveInst(hinstDLL); return TRUE; }