1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-25 14:05:41 -05:00
alacritty/alacritty_terminal/tests/ref
Christian Duerr 36185c4753
Fix colored row reset performance
This fixes a bug where a row would always get reset completely if its
background does not equal the default terminal background. This leads to
big performance bottlenecks when running commands like `echo "\e[41m" &&
yes`.

Instead of resetting the entire row whenever the template cell is not
empty, the template cell is now compared to the last cell in the row.
The last cell will always be equal to the previous template cell when
`row.occ < row.inner.len()` and if `occ` is equal to the row's length,
the entire row is always reset anyways.

Fixes #2989.
2019-12-10 00:35:13 +01:00
..
alt_reset Fix cell reset not clearing flags and foreground 2019-11-17 01:04:16 +01:00
colored_reset Add ref test for verifying colored clear behavior 2019-11-10 20:26:39 +01:00
csi_rep Split alacritty into a separate crates 2019-04-28 13:24:58 +00:00
decaln_reset Fix cell reset not clearing flags and foreground 2019-11-17 01:04:16 +01:00
deccolm_reset Fix cell reset not clearing flags and foreground 2019-11-17 01:04:16 +01:00
delete_chars_reset Fix cell reset not clearing flags and foreground 2019-11-17 01:04:16 +01:00
delete_lines Add reftest for line deletion 2019-11-15 23:37:24 +01:00
erase_chars_reset Fix cell reset not clearing flags and foreground 2019-11-17 01:04:16 +01:00
fish_cc Split alacritty into a separate crates 2019-04-28 13:24:58 +00:00
grid_reset Split alacritty into a separate crates 2019-04-28 13:24:58 +00:00
history Fix colored row reset performance 2019-12-10 00:35:13 +01:00
indexed_256_colors Split alacritty into a separate crates 2019-04-28 13:24:58 +00:00
insert_blank_reset Fix cell reset not clearing flags and foreground 2019-11-17 01:04:16 +01:00
issue_855 Split alacritty into a separate crates 2019-04-28 13:24:58 +00:00
ll Split alacritty into a separate crates 2019-04-28 13:24:58 +00:00
newline_with_cursor_beyond_scroll_region Split alacritty into a separate crates 2019-04-28 13:24:58 +00:00
row_reset Fix cell reset not clearing flags and foreground 2019-11-17 01:04:16 +01:00
scroll_up_reset Fix cell reset not clearing flags and foreground 2019-11-17 01:04:16 +01:00
selective_erasure Ignore unsupported CSI sequences 2019-08-06 22:59:16 +00:00
tab_rendering Split alacritty into a separate crates 2019-04-28 13:24:58 +00:00
tmux_git_log Split alacritty into a separate crates 2019-04-28 13:24:58 +00:00
tmux_htop Split alacritty into a separate crates 2019-04-28 13:24:58 +00:00
vim_24bitcolors_bce Fix cell reset not clearing flags and foreground 2019-11-17 01:04:16 +01:00
vim_large_window_scroll Fix cell reset not clearing flags and foreground 2019-11-17 01:04:16 +01:00
vim_simple_edit Fix incorrect cell foreground when clearing screen 2019-11-04 00:14:23 +01:00
vttest_cursor_movement_1 Split alacritty into a separate crates 2019-04-28 13:24:58 +00:00
vttest_insert Split alacritty into a separate crates 2019-04-28 13:24:58 +00:00
vttest_origin_mode_1 Split alacritty into a separate crates 2019-04-28 13:24:58 +00:00
vttest_origin_mode_2 Split alacritty into a separate crates 2019-04-28 13:24:58 +00:00
vttest_scroll Split alacritty into a separate crates 2019-04-28 13:24:58 +00:00
vttest_tab_clear_set Split alacritty into a separate crates 2019-04-28 13:24:58 +00:00
zerowidth Split alacritty into a separate crates 2019-04-28 13:24:58 +00:00
zsh_tab_completion Split alacritty into a separate crates 2019-04-28 13:24:58 +00:00