Skip to content

Instantly share code, notes, and snippets.

@Maximus5
Last active April 15, 2018 13:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Maximus5/ef2cae5e0dd546a9f01bb023d216a540 to your computer and use it in GitHub Desktop.
Save Maximus5/ef2cae5e0dd546a9f01bb023d216a540 to your computer and use it in GitHub Desktop.
Tests for the issue https://github.com/Maximus5/ConEmu/issues/1511
Files should be checkouted AS-IS (`git config core.autocrlf false`).
The problem was related to bare `\n` processing.
Some lines had `\r\n` line endings, but after lines with `\n` line ending
there were spare unexpected empty line.
c]9;10\
# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
# On branch daily
# Your branch is up-to-date with 'origin/daily'.
#
# Changes to be committed:
# modified: src/ConEmu/ConEmuSize.cpp
# modified: src/ConEmuHk/Ansi.cpp
#
# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
# On branch daily
# Your branch is up-to-date with 'origin/daily'.
#
# Changes to be committed:
# modified: src/ConEmu/ConEmuSize.cpp
# modified: src/ConEmuHk/Ansi.cpp
#
c]9;10\
#
#
c]9;10\
#
#
1 2
3
c]9;10\
#
#
1 2
3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment