]>
Commit | Line | Data |
---|---|---|
eb0ac1ae AG |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 6.2.130 (extra) | |
3 | Fcc: outbox | |
4 | From: Bram Moolenaar <Bram@moolenaar.net> | |
5 | Mime-Version: 1.0 | |
6 | Content-Type: text/plain; charset=ISO-8859-1 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ------------ | |
9 | ||
10 | Patch 6.2.130 (extra) | |
11 | Problem: Win32 console: When 'restorescreen' is not set exiting Vim causes | |
12 | the screen to be cleared. (Michael A. Mangino) | |
13 | Solution: Don't clear the screen when exiting and 'restorescreen' isn't set. | |
14 | Files: src/os_win32.c | |
15 | ||
16 | ||
17 | *** ../vim-6.2.129/src/os_win32.c Fri Oct 17 12:20:50 2003 | |
18 | --- src/os_win32.c Sat Oct 25 13:14:26 2003 | |
19 | *************** | |
20 | *** 1742,1748 **** | |
21 | * restore the cursor position and window information. Doing this now | |
22 | * prevents old buffer contents from "flashing" onto the screen. | |
23 | */ | |
24 | ! ClearConsoleBuffer(cb->Info.wAttributes); | |
25 | ||
26 | FitConsoleWindow(cb->Info.dwSize, TRUE); | |
27 | if (!SetConsoleScreenBufferSize(g_hConOut, cb->Info.dwSize)) | |
28 | --- 1742,1749 ---- | |
29 | * restore the cursor position and window information. Doing this now | |
30 | * prevents old buffer contents from "flashing" onto the screen. | |
31 | */ | |
32 | ! if (RestoreScreen) | |
33 | ! ClearConsoleBuffer(cb->Info.wAttributes); | |
34 | ||
35 | FitConsoleWindow(cb->Info.dwSize, TRUE); | |
36 | if (!SetConsoleScreenBufferSize(g_hConOut, cb->Info.dwSize)) | |
37 | *** ../vim-6.2.129/src/version.c Sun Oct 26 19:57:02 2003 | |
38 | --- src/version.c Sun Oct 26 19:59:18 2003 | |
39 | *************** | |
40 | *** 639,640 **** | |
41 | --- 639,642 ---- | |
42 | { /* Add new patch number below this line */ | |
43 | + /**/ | |
44 | + 130, | |
45 | /**/ | |
46 | ||
47 | -- | |
48 | Q: How many hardware engineers does it take to change a lightbulb? | |
49 | A: None. We'll fix it in software. | |
50 | ||
51 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
52 | /// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\ | |
53 | \\\ Project leader for A-A-P -- http://www.A-A-P.org /// | |
54 | \\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html /// |