Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-9764] swift REPL ignores TERM environment var #4343

Open
lilyball mannequin opened this issue Jan 25, 2019 · 1 comment
Open

[SR-9764] swift REPL ignores TERM environment var #4343

lilyball mannequin opened this issue Jan 25, 2019 · 1 comment
Labels
bug Something isn't working LLDB for Swift

Comments

@lilyball
Copy link
Mannequin

lilyball mannequin commented Jan 25, 2019

Previous ID SR-9764
Radar None
Original Reporter @lilyball
Type Bug
Environment

Apple Swift version 4.2.1 (swiftlang-1000.11.42 clang-1000.11.45.1)
Target: x86_64-apple-darwin18.2.0

Additional Detail from JIRA
Votes 0
Component/s LLDB for Swift
Labels Bug
Assignee None
Priority Medium

md5: 9fcf37339a2c25233d6afd6e60b22a6e

Issue Description:

The swift REPL seems to spit out ANSI escape codes for coloration regardless of the value of TERM. This can make it unusable in certain dumb pseudo-terminals that don't support ANSI escapes.

Example:

> env TERM=dumb swift

The resulting REPL still emits ANSI escapes.

@belkadan
Copy link

cc jingham@apple.com (JIRA User)

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working LLDB for Swift
Projects
None yet
Development

No branches or pull requests

1 participant