Skip to content

feat(core): add editor prompt#469

Open
hyperz111 wants to merge 5 commits intobombshell-dev:mainfrom
hyperz111:editor
Open

feat(core): add editor prompt#469
hyperz111 wants to merge 5 commits intobombshell-dev:mainfrom
hyperz111:editor

Conversation

@hyperz111
Copy link
Contributor

@hyperz111 hyperz111 commented Feb 16, 2026

Add editor prompt to core package. To open the editor, you must press the <enter> key. Maybe this is related.

Some options you can pass.

bin?: string

The binary to open the temporary file. If this isn't passed, will use from process.env.EDITOR. If process.env.EDITOR doesn't passed again, will use notepad for Windows, otherwise nano.

args?: (path: string) => Array<string>

The function that pass temp file path as first argument, return array of string to passed as binary arguments.

postfix?: string

The temp file name postfix, for temp file extension.

tmpdir?: string

Temp dir absolute path, default is os.tmpdir().

@changeset-bot
Copy link

changeset-bot bot commented Feb 16, 2026

⚠️ No Changeset found

Latest commit: 6a4ce5d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@pkg-pr-new
Copy link

pkg-pr-new bot commented Feb 16, 2026

commit: 6a4ce5d

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.

1 participant