diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-08-28 13:02:45 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-08-28 13:02:45 +0100 |
commit | 43568648dfefe5796dc3fe8fe711135eb20d9eb6 (patch) | |
tree | 59d27e3974535207bc9b21a32ec8dc777f40fd9c /src/testdir/dumps | |
parent | b0509c542ed974cb388d49273d365ff2daf43159 (diff) |
patch 9.0.0294: crash when 'cmdheight' is 0 and popup_clear() usedv9.0.0294
Problem: Crash when 'cmdheight' is 0 and popup_clear() used.
Solution: Reset "message_win" when the message popup is cleared. Close the
popup when 'cmdheight' is non-zero. Add a screendump test.
Diffstat (limited to 'src/testdir/dumps')
-rw-r--r-- | src/testdir/dumps/Test_cmdheight_zero_1.dump | 6 | ||||
-rw-r--r-- | src/testdir/dumps/Test_cmdheight_zero_2.dump | 6 | ||||
-rw-r--r-- | src/testdir/dumps/Test_cmdheight_zero_3.dump | 6 |
3 files changed, 18 insertions, 0 deletions
diff --git a/src/testdir/dumps/Test_cmdheight_zero_1.dump b/src/testdir/dumps/Test_cmdheight_zero_1.dump new file mode 100644 index 0000000000..6fd15a07db --- /dev/null +++ b/src/testdir/dumps/Test_cmdheight_zero_1.dump @@ -0,0 +1,6 @@ +>s+0&#ffffff0|o|m|e| |t|e|x|t| @65 +|~+0#4040ff13&| @73 +|~| @73 +|~| @73 +|~| @73 +|~| @73 diff --git a/src/testdir/dumps/Test_cmdheight_zero_2.dump b/src/testdir/dumps/Test_cmdheight_zero_2.dump new file mode 100644 index 0000000000..d8c3aeafec --- /dev/null +++ b/src/testdir/dumps/Test_cmdheight_zero_2.dump @@ -0,0 +1,6 @@ +|s+0&#e0e0e08|o|m|e| >t+0&#ffffff0|e|x|t| @65 +|~+0#4040ff13&| @73 +|~| @73 +|~| @73 +|~| @73 +|~| @73 diff --git a/src/testdir/dumps/Test_cmdheight_zero_3.dump b/src/testdir/dumps/Test_cmdheight_zero_3.dump new file mode 100644 index 0000000000..ea83d3dccf --- /dev/null +++ b/src/testdir/dumps/Test_cmdheight_zero_3.dump @@ -0,0 +1,6 @@ +|s+0&#ffffff0|o|m|e| >t|e|x|t| @65 +|~+0#4040ff13&| @73 +|~| @73 +|~| @73 +|═+0#e000002&@74 +|m|e|s@1|a|g|e| |w|i|n|d|o|w| @60 |