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
Corrupt prompt when using mosh #1540
Comments
@hanskokx seems like mosh doesn't like inverted ANSI. I found the following issues which might put you in the right direction. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
@hanskokx Out of curiosity, what terminal app is it? :) |
FluentTerminal |
thanks! |
@hanskokx can we close this on our end as there's not much we can do (maybe get some info at Fluent Terminal?) |
Yes, I think that would be appropriate.
—
Hans Kokx
On 1/20/2022 9:30:49 AM, Jan De Dobbeleer ***@***.***> wrote:
@hanskokx [https://github.com/hanskokx] can we close this on our end as there's not much we can do (maybe get some info at Fluent Terminal?)
—
Reply to this email directly, view it on GitHub [#1540 (comment)], or unsubscribe [https://github.com/notifications/unsubscribe-auth/AAOSY335CYZAKWSX2OP22DDUXAMBTANCNFSM5LLBMYZA].
You are receiving this because you were mentioned.Message ID: ***@***.***>
[5a6d0900-b9ea-4ab3-9c8b-ebaf534c109f]
|
This issue has been automatically locked since there has not been any recent activity (i.e. last half year) after it was closed. It helps our maintainers focus on the active issues. |
Code of Conduct
What happened?
I have ohmyposh on all my devices, using the same theme. It works beautifully.
When I ssh to my server, the prompt works perfectly. However, when I use mosh, the prompt is corrupt. This may be a mosh issue, rather than an ohmyposh issue, but I wanted to get feedback and have a source of documentation either way.
Theme
My theme is slightly modified from the default:
{ "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "blocks": [ { "alignment": "left", "segments": [ { "type": "os", "style": "diamond", "leading_diamond": "", "foreground": "#ffffff", "background": "#6B69D6", "properties": { "postfix": " \uE0B1\u2800", "windows": "" } }, { "type": "session", "style": "powerline", "foreground": "#ffffff", "background": "#6B69D6", "trailing_diamond": "", "properties": { "display_default": false, "default_user_name": "xxxx", "ssh_icon": "ﯱ", "postfix": " \uE0B1\u2800" } }, { "type": "root", "style": "powerline", "powerline_symbol": "\uE0B0", "foreground": "#ffffff", "background": "#ff0000", "properties": { "root_icon": " root" } }, { "background": "#008EF4", "foreground": "#ffffff", "powerline_symbol": "", "properties": { "folder_separator_icon": " ", "home_icon": "ﴤ", "style": "mixed", "mapped_locations": { "C:": " C:" } }, "style": "powerline", "type": "path" }, { "type": "owm", "style": "powerline", "powerline_symbol": "\uE0B0", "foreground": "#ffffff", "background": "#FF0000", "properties": { "apikey": "xxx", "location": "xxx", "enable_hyperlink": false, "http_timeout": 20 } }, { "background": "#fffb38", "foreground": "#193549", "powerline_symbol": "", "properties": { "ahead_and_behind_color": "#f26d50", "ahead_color": "#89d1dc", "behind_color": "#f17c37", "display_status": true, "display_stash_count": true, "display_upstream_icon": true, "local_changes_color": "#ff9248", "stash_count_icon": " ", "status_colors_enabled": true }, "style": "powerline", "type": "git" }, { "background": "#6CA35E", "foreground": "#ffffff", "powerline_symbol": "", "properties": { "display_version": true, "prefix": " ", "postfix": "\u2800" }, "style": "powerline", "type": "node" }, { "background": "#8ED1F7", "foreground": "#111111", "powerline_symbol": "", "properties": { "display_version": true, "prefix": " ", "postfix": "\u2800" }, "style": "powerline", "type": "go" }, { "background": "#4063D8", "foreground": "#111111", "powerline_symbol": "", "properties": { "display_version": true, "prefix": " ", "postfix": "\u2800" }, "style": "powerline", "type": "julia" }, { "background": "#FFDE57", "foreground": "#111111", "powerline_symbol": "", "properties": { "display_mode": "files", "display_version": true, "display_virtual_env": false, "prefix": " ", "postfix": "\u2800" }, "style": "powerline", "type": "python" }, { "background": "#AE1401", "foreground": "#ffffff", "powerline_symbol": "", "properties": { "display_mode": "files", "display_version": true, "prefix": " ", "postfix": "\u2800" }, "style": "powerline", "type": "ruby" }, { "background": "#FEAC19", "foreground": "#ffffff", "powerline_symbol": "", "properties": { "display_mode": "files", "display_version": false, "prefix": " ", "postfix": "\u2800" }, "style": "powerline", "type": "azfunc" }, { "background_templates": [ "{{if contains \"default\" .Profile}}#FFA400{{end}}", "{{if contains \"jan\" .Profile}}#f1184c{{end}}" ], "foreground": "#ffffff", "powerline_symbol": "", "properties": { "display_default": false, "prefix": " ", "postfix": "\u2800" }, "style": "powerline", "type": "aws" }, { "type": "dart", "style": "powerline", "powerline_symbol": "\uE0B0", "foreground": "#ffffff", "background": "#06A4CE", "properties": { "prefix": " \uE798 ", "postfix": "\u2800" } }, { "type": "spotify", "style": "powerline", "powerline_symbol": "\uE0B0", "foreground": "#ffffff", "background": "#1BD760", "properties": { "prefix": " 阮 ", "playing_icon": " ", "paused_icon": " ", "stopped_icon": "栗 ", "track_separator": " ♪ ", "postfix": "\u2800" } }, { "background": "#83769c", "foreground": "#ffffff", "leading_diamond": "", "properties": { "always_enabled": true, "prefix": "<transparent></> 羽", "postfix": "\u2800" }, "style": "plain", "trailing_diamond": "", "type": "executiontime" }, { "background": "#2e9599", "foreground": "#ffffff", "leading_diamond": "", "properties": { "always_enabled": true, "color_background": true, "display_exit_code": false, "error_color": "#f1184c", "prefix": "<#83769c></> ﰌ", "postfix": "\u2800" }, "style": "diamond", "trailing_diamond": " ", "type": "exit" } ], "type": "prompt" }, { "segments": [ { "background": "#0077c2", "foreground": "#ffffff", "properties": { "postfix": " <transparent,#0077c2></>", "prefix": "<#0077c2,transparent></> " }, "style": "plain", "type": "shell" }, { "background": "#1BD760", "foreground": "#111111", "invert_powerline": true, "powerline_symbol": "", "properties": { "paused_icon": " ", "playing_icon": " ", "prefix": " ", "postfix": "\u2800" }, "style": "powerline", "type": "ytm" }, { "background": "#f36943", "foreground": "#ffffff", "invert_powerline": true, "powerline_symbol": "", "properties": { "battery_icon": "", "charged_color": "#4caf50", "charged_icon": " ", "charging_color": "#40c4ff", "charging_icon": " ", "color_background": true, "discharging_color": "#ff5722", "discharging_icon": " ", "postfix": " " }, "style": "powerline", "type": "battery" }, { "background": "#2e9599", "foreground": "#ffffff", "invert_powerline": true, "leading_diamond": "", "style": "diamond", "trailing_diamond": "", "type": "time", "properties": { "time_format": " 3:04pm EST" } } ], "type": "rprompt" } ], "console_title": true, "console_title_style": "template", "console_title_template": "{{if .Root}} ☠ root{{end}} {{ .Shell }} in {{ .Folder }}", "final_space": true }
Here's how it should look, via ssh:
Here's how it looks using mosh:
What OS are you seeing the problem on?
Linux
Which shell are you using?
zsh
Log output
The text was updated successfully, but these errors were encountered: