This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Repository navigation
Use em-dash in window title and exclude app name on OS X - #9620
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
You'll need to use an extended regex here (///) because the normal one doesn't support string interpolation.
DouweM
force-pushed
the
window-title
branch
2 times, most recently
from
November 18, 2015 14:53
27331b6 to
e49dd23
Compare
Contributor
Author
|
@50Wliu Anything I can do to help this PR along? |
Contributor
|
LGTM! /cc @atom/feedback |
Contributor
|
Looks good to me too 👍 |
Contributor
There was a problem hiding this comment.
Super minor, but any reason why you're using multi-line regexes here instead of a standard regex?
Contributor
Author
There was a problem hiding this comment.
@mnquintana It was pointed out to me by @50Wliu that string interpolation doesn't work in standard regexes.
Contributor
There was a problem hiding this comment.
Ah yeah good point, neeeever mind 😆
kevinsawicki
added a commit
that referenced
this pull request
Dec 4, 2015
Use em-dash in window title and exclude app name on OS X
Contributor
|
Cool, thanks so much for this 👍 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
On OS X, the convention is to use the em-dash as the segment separator in window titles, and to not include the app name: (The two items at the top are window titles)

OLD

## NEW