mobile-shell / mobile-shell/mosh

Fullscreen applications breaks under mosh 1.4.0 on MacOS 15.4

Open
#1,337 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
14.5k
Forks
865
PR merge metrics
No merged PRs in 30d

Description

Hello,

I have just received a brand new Air 15 M3 with MacOS Sequoia 15.4, installed mosh 1.4.0 via brew and connected to my Fedora in the MacOS built-in Terminal app.

After some time of editing in Vim the session gets broken, it looks like everything is shifted one line upwards, things are breaking, I am not entirely sure what is wrong. When I delete a line, it deletes a line above the cursor and the status line of vim updates one line below where it should render. Clearing the session with Ctrl-L does not help.

I customized the Terminal a bit in Settings, I will try to revert to default values but wanted to open up this issue first. Here is how it looks like:

Image

I did not have this problem on Pro 16 M1 which also had the same OS version and I also exclusively only used the built-in Terminal app. Not sure what is different, I guess mosh version is new I did not upgrade too often.

For the record, here is my settings of the Terminal.app:

% defaults read com.apple.Terminal
{
    "Default Window Settings" = Basic;
    DefaultProfilesVersion = 1;
    HasMigratedDefaults = 1;
    "NSWindow Frame NSFontPanel" = "889 314 603 289 0 0 1710 1068 ";
    "NSWindow Frame TTAppPreferences" = "712 168 667 568 0 0 1710 1068 ";
    "NSWindow Frame TTWindow" = "77 296 524 355 0 0 1710 1068 ";
    "NSWindow Frame TTWindow Basic" = "0 154 1225 914 0 0 1710 1068 ";
    ProfileCurrentVersion = "2.07";
    SecureKeyboardEntry = 0;
    "Startup Window Settings" = Basic;
    "TTAppPreferences Selected Tab" = 1;
    "Window Settings" =     {
        Basic =         {
            CursorBlink = 1;
            CursorType = 0;
            EnableSmoothResizing = 0;
            Font = {length = 267, bytes = 0x62706c69 73743030 d4010203 04050607 ... 00000000 000000cf };
            FontAntialias = 1;
            FontWidthSpacing = "1.004032258064516";
            ProfileCurrentVersion = "2.07";
            ShouldLimitScrollback = 1;
            ShouldRestoreContent = 0;
            ShowActiveProcessArgumentsInTabTitle = 1;
            ShowActiveProcessArgumentsInTitle = 0;
            ShowActiveProcessInTabTitle = 1;
            ShowCommandKeyInTitle = 0;
            ShowComponentsWhenTabHasCustomTitle = 0;
            ShowDimensionsInTitle = 1;
            ShowRepresentedURLInTabTitle = 0;
            ShowRepresentedURLInTitle = 0;
            ShowRepresentedURLPathInTitle = 0;
            ShowShellCommandInTitle = 0;
            ShowTTYNameInTabTitle = 0;
            ShowTTYNameInTitle = 0;
            ShowWindowSettingsNameInTitle = 0;
            columnCount = 120;
            name = Basic;
            rowCount = 44;
            shellExitAction = 1;
            type = "Window Settings";
            useOptionAsMetaKey = 0;
        };
    };
}

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source files, tests, or entry points are named. First reproduce the display corruption in macOS Terminal.app with mosh 1.4.0, Fedora, and Vim, then compare the affected Mac setup with the previously working M1 setup; done means fullscreen editing remains correctly aligned and line deletion affects the cursor's line.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, vim
Domain
cli, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.