summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/ant/templates/tool-unix.tmpl
diff options
context:
space:
mode:
authorkirillkh <kirillkh@gmail.com>2015-08-09 14:28:18 +0300
committerkirillkh <kirillkh@gmail.com>2015-08-09 14:28:18 +0300
commit831f91248b6e6382116e7e46ac0a75a3eb8d7caf (patch)
treec0d363576c91bc5b04999ccaf15553d15e4f053d /src/compiler/scala/tools/ant/templates/tool-unix.tmpl
parent793fc445f6a57e116fb02f3a9abd7e522cd7bf66 (diff)
downloadscala-831f91248b6e6382116e7e46ac0a75a3eb8d7caf.tar.gz
scala-831f91248b6e6382116e7e46ac0a75a3eb8d7caf.tar.bz2
scala-831f91248b6e6382116e7e46ac0a75a3eb8d7caf.zip
tool-unix: support environments with TERM=cygwin
Diffstat (limited to 'src/compiler/scala/tools/ant/templates/tool-unix.tmpl')
-rwxr-xr-xsrc/compiler/scala/tools/ant/templates/tool-unix.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/ant/templates/tool-unix.tmpl b/src/compiler/scala/tools/ant/templates/tool-unix.tmpl
index fb384a340f..5e6b3c041e 100755
--- a/src/compiler/scala/tools/ant/templates/tool-unix.tmpl
+++ b/src/compiler/scala/tools/ant/templates/tool-unix.tmpl
@@ -118,7 +118,7 @@ fi
if [[ -n "$cygwin$mingw$msys" ]]; then
case "$TERM" in
- rxvt* | xterm*)
+ rxvt* | xterm* | cygwin*)
stty -icanon min 1 -echo
WINDOWS_OPT="-Djline.terminal=unix"
;;