diff --git a/packages/core/src/utils/compatibility.test.ts b/packages/core/src/utils/compatibility.test.ts index c94cbee3a6..28fa26453c 100644 --- a/packages/core/src/utils/compatibility.test.ts +++ b/packages/core/src/utils/compatibility.test.ts @@ -289,19 +289,6 @@ describe('compatibility', () => { ); }); - it('should return tmux warning when detected and in alternate buffer', () => { - vi.stubEnv('TMUX', '/tmp/tmux-1001/default,1,0'); - - const warnings = getCompatibilityWarnings({ isAlternateBuffer: true }); - expect(warnings).toContainEqual( - expect.objectContaining({ - id: 'tmux-alternate-buffer', - message: expect.stringContaining('tmux detected'), - priority: WarningPriority.High, - }), - ); - }); - it('should return low-color tmux warning when detected', () => { vi.stubEnv('TERM', 'screen'); vi.stubEnv('TMUX', '1'); diff --git a/packages/core/src/utils/compatibility.ts b/packages/core/src/utils/compatibility.ts index 4b126bd4eb..8a997b42cf 100644 --- a/packages/core/src/utils/compatibility.ts +++ b/packages/core/src/utils/compatibility.ts @@ -145,15 +145,6 @@ export function getCompatibilityWarnings(options?: { }); } - if (isTmux() && options?.isAlternateBuffer) { - warnings.push({ - id: 'tmux-alternate-buffer', - message: - 'Warning: tmux detected — alternate buffer mode may cause unexpected scrollback loss and flickering. If you experience issues, disable it in /settings → "Use Alternate Screen Buffer".\n Tip: Use Ctrl-b [ to access tmux copy mode for scrolling history.', - priority: WarningPriority.High, - }); - } - if (isLowColorTmux()) { warnings.push({ id: 'low-color-tmux',