[GH-ISSUE #2355] sz 下载文件默认txt格式问题 #1505

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

Originally created by @bb7788 on GitHub (Jan 18, 2022).
Original GitHub issue: https://github.com/electerm/electerm/issues/2355

Please check known issues first

https://github.com/electerm/electerm/wiki/Know-issues

Electerm version(版本号):

v1.17.21

Operating system(linux, macos, or windows7/8/10?)(操作系统):

macos

Expected Behavior(期望的行为)

Can you reproduce the same behavior in other terminal(是否能在其他同类软件中复现):

Current Behavior(当前行为)

Possible Solution(可能的解决办法)

Steps to Reproduce(复现步骤)

Context (Environment)(环境)

Detailed Description(详细描述)

使用sz下载文件的时候,如果文件没有格式后缀,保存的时候默认是.txt,

Suggestions?(建议)

建议去掉默认的.txt,因为每次保存都要手动去掉比较麻烦。

Originally created by @bb7788 on GitHub (Jan 18, 2022). Original GitHub issue: https://github.com/electerm/electerm/issues/2355 ## Please check known issues first https://github.com/electerm/electerm/wiki/Know-issues <!--- Provide some basic info --> ## Electerm version(版本号): v1.17.21 ## Operating system(linux, macos, or windows7/8/10?)(操作系统): macos ## Expected Behavior(期望的行为) <!--- Tell me what should happen --> ## Can you reproduce the same behavior in other terminal(是否能在其他同类软件中复现): <!--- If same bahavior happens in other terminal, maybe it is supposed to be like this or not a problem of terminal app --> ## Current Behavior(当前行为) <!--- Tell me what happens instead of the expected behavior --> ## Possible Solution(可能的解决办法) <!--- Not obligatory, but suggest a fix/reason for the bug, --> ## Steps to Reproduce(复现步骤) <!--- Provide a link to a live example, or an unambiguous set of steps to --> <!--- reproduce this bug. Include code to reproduce, if relevant --> 1. 2. 3. 4. ## Context (Environment)(环境) <!--- How has this issue affected you? What are you trying to accomplish? --> <!--- Providing context helps us come up with a solution that is most useful in the real world --> ## Detailed Description(详细描述) <!--- Provide a detailed description of the change or addition you are proposing --> 使用sz下载文件的时候,如果文件没有格式后缀,保存的时候默认是.txt, ## Suggestions?(建议) <!--- Not a bug report, just some thoughts or suggestions? It is totally OK and welcome too --> 建议去掉默认的.txt,因为每次保存都要手动去掉比较麻烦。
kerem 2026-02-27 00:03:48 +03:00
Author
Owner

@zxdong262 commented on GitHub (Jan 23, 2022):

这个electron的行为,目前还没发现可以控制的地方

<!-- gh-comment-id:1019435091 --> @zxdong262 commented on GitHub (Jan 23, 2022): 这个electron的行为,目前还没发现可以控制的地方
Author
Owner

@lonnywong commented on GitHub (Mar 27, 2022):

@bb7788 可以试试 trzsz ( trz / tsz ) ,和 rz / sz 类似,并且支持 tmux。electerm 升级到 1.19 以上,服务端安装 trzsz :https://github.com/trzsz/trzsz

<!-- gh-comment-id:1079942736 --> @lonnywong commented on GitHub (Mar 27, 2022): @bb7788 可以试试 trzsz ( trz / tsz ) ,和 rz / sz 类似,并且支持 tmux。electerm 升级到 1.19 以上,服务端安装 trzsz :https://github.com/trzsz/trzsz
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#1505
No description provided.