Skip to content

[FEATURE REQUEST] Support opening ELYTerminal in a requested directory - #53

Merged
Raiden-MeixElysia merged 1 commit into
ELY-Open-Source:mainfrom
Chino456:codex/open-in-terminal-directory
Nov 2, 2026
Merged

Raiden-MeixElysia merged 1 commit into
ELY-Open-Source:mainfrom
Chino456:codex/open-in-terminal-directory

Conversation

@Chino456

@Chino456 Chino456 commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

Type

  • [FEATURE REQUEST]: a new feature or an improvement
  • [BUG REPORT]: a bug fix
  • [Other]: docs, refactoring, CI, dependencies or chores

What and why

Support starting ELYTerminal’s first session in a requested directory through a positional path, --working-directory, --startingDirectory, or -d. This allows file manager integrations on Linux and Windows to open a terminal in the selected folder.

On Windows 11, Windows Terminal’s Open in Terminal menu supplies the folder through the child process’s working directory. ELYTerminal now preserves that directory when launched without arguments under Windows Terminal, while explicit directory arguments take priority.

How it was tested

  • Manually tested successfully on Ubuntu 26.04.1 LTS and Windows 11, confirming that opening from the file manager starts the first session in the selected directory.
  • All five directory argument regression tests passed, covering explicit paths, directory options, inherited directories, and invalid arguments.
  • A Windows subprocess probe verified working directories containing Chinese characters and spaces.
  • cargo fmt --check passed.

Checklist

  • The title starts with [FEATURE REQUEST], [BUG REPORT] or [Other]
  • Tests and the build pass locally
  • Docs are updated if behaviour changed

@Raiden-MeixElysia
Raiden-MeixElysia merged commit 573710c into ELY-Open-Source:main Nov 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants