SBT Error: “Failed to construct terminal; falling back to unsupported…”
I had the same issue, especially when the TERM environment variable is set to xterm-256color. Setting it to a different value fixed the issue for me, e.g. export TERM=xterm-color