From e447156612d3239f6b0e938043038d0ce6edaebf Mon Sep 17 00:00:00 2001 From: Christian Duerr Date: Fri, 16 Jul 2021 19:08:07 +0000 Subject: Fix copying interrupted tab characters Fixes #5084. --- alacritty_terminal/src/term/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'alacritty_terminal/src') diff --git a/alacritty_terminal/src/term/mod.rs b/alacritty_terminal/src/term/mod.rs index 29556517..1c29327a 100644 --- a/alacritty_terminal/src/term/mod.rs +++ b/alacritty_terminal/src/term/mod.rs @@ -406,7 +406,7 @@ impl Term { // Skip over cells until next tab-stop once a tab was found. if tab_mode { - if self.tabs[column] { + if self.tabs[column] || cell.c != ' ' { tab_mode = false; } else { continue; -- cgit v1.2.3-54-g00ecf