Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(343)

Issue 2753033002: Support terminal colors on Windows 10. (Closed)

Created:
3 years, 9 months ago by ahe
Modified:
3 years, 9 months ago
CC:
reviews_dartlang.org, dart-fe-team+reviews_google.com
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -2 lines) Patch
M pkg/front_end/lib/src/fasta/colors.dart View 2 chunks +12 lines, -2 lines 2 comments Download

Messages

Total messages: 8 (3 generated)
ahe
3 years, 9 months ago (2017-03-16 10:15:03 UTC) #3
Johnni Winther
lgtm
3 years, 9 months ago (2017-03-16 10:27:19 UTC) #4
ahe
Committed patchset #1 (id:20001) manually as b018d8cfae43d3b4e17d276b1fbc1bd7f17b4e6c (presubmit successful).
3 years, 9 months ago (2017-03-16 10:31:20 UTC) #6
sortie
lgtm https://codereview.chromium.org/2753033002/diff/20001/pkg/front_end/lib/src/fasta/colors.dart File pkg/front_end/lib/src/fasta/colors.dart (right): https://codereview.chromium.org/2753033002/diff/20001/pkg/front_end/lib/src/fasta/colors.dart#newcode130 pkg/front_end/lib/src/fasta/colors.dart:130: // `Platform.ansiSupported` is hard-coded to true on non-Windows ...
3 years, 9 months ago (2017-03-16 10:32:03 UTC) #7
ahe
3 years, 9 months ago (2017-03-16 11:06:30 UTC) #8
Message was sent while issue was closed.
Thank you!

https://codereview.chromium.org/2753033002/diff/20001/pkg/front_end/lib/src/f...
File pkg/front_end/lib/src/fasta/colors.dart (right):

https://codereview.chromium.org/2753033002/diff/20001/pkg/front_end/lib/src/f...
pkg/front_end/lib/src/fasta/colors.dart:130: // `Platform.ansiSupported` is
hard-coded to true on non-Windows platforms.
On 2017/03/16 10:32:03, sortie wrote:
> This comment may get out of date in the future. You may want to specify when
> "currently" is. If Platform.ansiSupported gains support for Unix in the future
> (for instance if the vm links in terminfo so there's no need to invoke tput),
> the below code should possibly be wholly or partially removed. If this is the
> plan, possibly the comment should be of the format "The below code can be
> removed when $condition happens."

I normally expect that people look in the revision history when they see
comments like this. In the past, I've found that I'm really bad at predicting
exactly what future condition must be satisfied before code can be removed.

Powered by Google App Engine
This is Rietveld 408576698