From c4d2725e14ca9488b1b086024bf827c66945ae7b Mon Sep 17 00:00:00 2001 From: Christian Duerr Date: Wed, 10 Jul 2019 21:17:20 +0000 Subject: Fix row occ not set during new and reset Since ref tests were only stored whenever winit requested the window close, they would not get stored properly when the terminal was closed through Alacritty using `exit`, Ctrl+D or similar. This moves the ref test code to the and of the main entry point, which will always be executed regardless of how the terminal was shutdown. Fixes #2613. --- alacritty_terminal/tests/ref.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'alacritty_terminal/tests/ref.rs') diff --git a/alacritty_terminal/tests/ref.rs b/alacritty_terminal/tests/ref.rs index 135b5f25..91c0b6ee 100644 --- a/alacritty_terminal/tests/ref.rs +++ b/alacritty_terminal/tests/ref.rs @@ -52,6 +52,7 @@ ref_tests! { zsh_tab_completion history grid_reset + row_reset zerowidth } -- cgit