[GH-ISSUE #4038] 背景图片无法自动填满整个终端页面 #2795

Closed
opened 2026-02-27 00:54:17 +03:00 by kerem · 2 comments
Owner

Originally created by @1966536949 on GitHub (Aug 28, 2025).
Original GitHub issue: https://github.com/electerm/electerm/issues/4038

Electerm Version and download file extension(Electerm版本和下载文件后缀)

electerm-1.101.16-mac-arm64.dmg

Platform detail (平台详情)

macos ARM

What steps will reproduce the bug?(重现问题的详细步骤)

设置了本地图片绝对路径后,不能适应填满终端框,显示把图片放大很多。

Image

原本图如下:

Image

What should have happened?(期望的结果)

希望能维持原来版本的功能,很早之前的版本是可以很好的适应填满窗口的。

Would this happen in other terminal app(是否能够在其他同类软件重现这个问题)

No response

Additional information(其他任何相关信息)

No response

Originally created by @1966536949 on GitHub (Aug 28, 2025). Original GitHub issue: https://github.com/electerm/electerm/issues/4038 ### Electerm Version and download file extension(Electerm版本和下载文件后缀) electerm-1.101.16-mac-arm64.dmg ### Platform detail (平台详情) macos ARM ### What steps will reproduce the bug?(重现问题的详细步骤) 设置了本地图片绝对路径后,不能适应填满终端框,显示把图片放大很多。 <img width="1113" height="588" alt="Image" src="https://github.com/user-attachments/assets/00baeb7f-8508-4449-a754-c0c759c2313b" /> 原本图如下: <img width="3600" height="2338" alt="Image" src="https://github.com/user-attachments/assets/075d0e4f-4078-445e-9284-5c25059fbc60" /> ### What should have happened?(期望的结果) 希望能维持原来版本的功能,很早之前的版本是可以很好的适应填满窗口的。 ### Would this happen in other terminal app(是否能够在其他同类软件重现这个问题) _No response_ ### Additional information(其他任何相关信息) _No response_
kerem 2026-02-27 00:54:17 +03:00
Author
Owner

@zxdong262 commented on GitHub (Aug 28, 2025):

目前是cover模式,如果不介意拉伸,可以在设置->自定义css加入

#container .session-batch-active .xterm-screen::before{background-size: 100% 100% !important;}
<!-- gh-comment-id:3231740855 --> @zxdong262 commented on GitHub (Aug 28, 2025): 目前是cover模式,如果不介意拉伸,可以在设置->自定义css加入 ```css #container .session-batch-active .xterm-screen::before{background-size: 100% 100% !important;} ```
Author
Owner

@1966536949 commented on GitHub (Sep 3, 2025):

好滴

<!-- gh-comment-id:3247428389 --> @1966536949 commented on GitHub (Sep 3, 2025): 好滴
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/electerm#2795
No description provided.