summaryrefslogtreecommitdiff
path: root/alacritty_terminal/src/term/mod.rs
diff options
context:
space:
mode:
authorChristian Duerr <contact@christianduerr.com>2021-07-16 19:08:07 +0000
committerGitHub <noreply@github.com>2021-07-16 19:08:07 +0000
commite447156612d3239f6b0e938043038d0ce6edaebf (patch)
treeadf7efa70b566232d3cfd8c788ca10fd1d537fdb /alacritty_terminal/src/term/mod.rs
parente0f0cdfb8aed4c99819019fd3d515d3584e01a45 (diff)
downloadalacritty-e447156612d3239f6b0e938043038d0ce6edaebf.tar.gz
alacritty-e447156612d3239f6b0e938043038d0ce6edaebf.zip
Fix copying interrupted tab characters
Fixes #5084.
Diffstat (limited to 'alacritty_terminal/src/term/mod.rs')
-rw-r--r--alacritty_terminal/src/term/mod.rs2
1 files changed, 1 insertions, 1 deletions
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<T> Term<T> {
// 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;