-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Question Mark folder icon on title bar with macOS's Terminal.app, fish 3.0 #5758
Comments
That question mark appears when a bad path is reported to the terminal through the OSC 7 mechanism. What path do you see if you right click and hit Show Inspector? It'll be listed after Directory: |
(Just to confirm if it's really the hostname or maybe something else is going on.) |
Also, giving the Directory: from 2.7.1 to compare would be handy. |
it's
You're right. So it seems my hostname somehow get truncated because it's too long. 😭 |
I have no idea why we're truncating at 32 characters. Up to 255 should be fine. env_universal_common.cpp:
|
Okay, this should work correctly for you in git master. |
After an update my title bar comes with a question marked folder icon.
Related to this thread https://apple.stackexchange.com/questions/75751/why-does-the-folder-icon-in-my-terminal-have-a-question-mark-overlaid
My
hostname
command gives aXXX.hsd1.ca.comcast.net
, rather than typicalXXX.local
due to my ISP's config, possibly causes the problem. Using system's defaultbash
has no such a problem.I'm using the prebuilt binary from https://pkgsrc.joyent.com, the version number is
3.0.0
according to package description, althoughecho $version
givesunknown
. macOS Mojave version10.14.3
Can be reproduced using the AppleScript bundle (version
3.0.2-1-g6f940d72d
) downloaded from homepage.Not reproducible with locally compiled
2.7.1
version, which gives an expected normal icon.I suppose the function informs the terminal about CWD has changed since 3.0 but no longer works with this corner case.
The text was updated successfully, but these errors were encountered: