Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save saitoha/5797703 to your computer and use it in GitHub Desktop.

Select an option

Save saitoha/5797703 to your computer and use it in GitHub Desktop.
Quick fix for iTerm2 continuous parsing bug on canonical parser.
diff --git a/VT100Terminal.m b/VT100Terminal.m
index dd67b60..c33dde9 100644
--- a/VT100Terminal.m
+++ b/VT100Terminal.m
@@ -751,7 +751,6 @@ static int getCSIParamCanonically(unsigned char *datap,
return datap - orgp;
cancel:
- param->cmd = 0xff;
return datap - orgp;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment