[PR #3973] [MERGED] [polish]improve sftpPathFollowSsh feature #3981

Closed
opened 2026-02-27 01:54:29 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/electerm/electerm/pull/3973
Author: @asmpg
Created: 6/22/2025
Status: Merged
Merged: 6/29/2025
Merged by: @zxdong262

Base: masterHead: master


📝 Commits (2)

  • 91d7d5c refactor(client): 重构终端初始化和恢复命令的执行逻辑
  • e65912b Merge branch 'electerm:master' into master

📊 Changes

1 file changed (+49 additions, -27 deletions)

View changed files

📝 src/client/components/terminal/terminal.jsx (+49 -27)

📄 Description

Previously, the PS1 setup command for sftpPathFollowSsh executed after your first command, which was problematic when the first command was vi or vim.
Now, the PS1 setup command executes immediately after a remote terminal connection is established.
The improvment has beed tested on Windows 11 and macOS 15.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/electerm/electerm/pull/3973 **Author:** [@asmpg](https://github.com/asmpg) **Created:** 6/22/2025 **Status:** ✅ Merged **Merged:** 6/29/2025 **Merged by:** [@zxdong262](https://github.com/zxdong262) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (2) - [`91d7d5c`](https://github.com/electerm/electerm/commit/91d7d5cec91eedc4080727d8d602ba5ebfed167e) refactor(client): 重构终端初始化和恢复命令的执行逻辑 - [`e65912b`](https://github.com/electerm/electerm/commit/e65912be23890718320e8a1fea5d0931e1c74042) Merge branch 'electerm:master' into master ### 📊 Changes **1 file changed** (+49 additions, -27 deletions) <details> <summary>View changed files</summary> 📝 `src/client/components/terminal/terminal.jsx` (+49 -27) </details> ### 📄 Description Previously, the PS1 setup command for sftpPathFollowSsh executed after your first command, which was problematic when the first command was vi or vim. Now, the PS1 setup command executes immediately after a remote terminal connection is established. The improvment has beed tested on Windows 11 and macOS 15. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 01:54:29 +03:00
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#3981
No description provided.