Repository navigation
Reuse a terminal cd'd into the project in ghostel-project - #808
Merged
Merged
Conversation
dakra
force-pushed
the
project-reuse
branch
2 times, most recently
from
November 12, 2026 16:34
77aafa9 to
218ae38
Compare
A terminal started with ghostel-new and cd'd into a project counts as the project's for ghostel-project-next and ghostel-project-list-buffers, but ghostel-project missed it and started a second terminal. It reused only a terminal it had started itself, found by its identity. Without a prefix argument, switch to the most recently used terminal of ghostel-project-buffer-list, skipping other kinds such as exec and compile buffers, so ghostel-project-buffer-scope decides for ghostel-project too. A prefix argument still selects or creates an instance as before.
dakra
force-pushed
the
project-reuse
branch
2 times, most recently
from
November 12, 2026 16:56
7d096e4 to
197a2ff
Compare
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A terminal started with ghostel-new and cd'd into a project counts as the project's for ghostel-project-next and ghostel-project-list-buffers, but ghostel-project missed it and started a second terminal. It reused only a terminal it had started itself, found by its identity.
Without a prefix argument, switch to the most recently used buffer of ghostel-project-buffer-list, so ghostel-project-buffer-scope decides for ghostel-project too. A prefix argument still selects or creates an instance as before.