Repository navigation
[FEATURE REQUEST] Settings › Terminal switches the sessions column's drag and its right press - #14
Merged
Raiden-MeixElysia merged 1 commit intoOct 24, 2026
Conversation
…right press Two switches, each on by default: Drag sessions to reorder, and Session menu. Off, a drag on a row moves nothing and the rows keep List's own gap, since the column is a List and not Ely's Reorder; a right press on a row opens nothing, since the row carries no ContextMenu. A settings file without either field takes both on, so an older file still drags and still opens the menu. `settings` test a_file_without_the_session_switches_leaves_them_on says so. Tested on Windows with the x86_64-pc-windows-gnu target, the only one this machine can link: cargo fmt --check, cargo clippy --all-targets with -D warnings and cargo test, 254 passing. The owner turned both switches off and on in a build of this branch and found each took effect.
Raiden-MeixElysia
added a commit
that referenced
this pull request
Oct 24, 2026
… T83 with the macOS runs
Contributor
|
Thank you, @miaoaa66. The two switches are merged in 91454aa, as you wrote them. Main had moved on, so two things changed in the merge:
It ships in the next release. |
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.
Type
What and why
Two switches in Settings › Terminal, each on by default, that turn off either half of what T70 added:
Drag sessions to reorderandSession menu. Off, a drag on a row moves nothing and a right press on it opens nothing; on, they act as before.How it was tested
cargo fmt --check,cargo clippy --all-targets -- -D warningsandcargo teston Windows: 254 tests pass. My machine has no MSVC and no Windows SDK, so this ran on thex86_64-pc-windows-gnutarget, the only one it can link, and CI's msvc job would be the first msvc build.chunks_exact_to_as_chunks, which fires onsrc/term/env.rs:254rather than on this branch. Run with-A clippy::chunks_exact_to_as_chunksit leaves no warning; the pinned 1.95 has no such lint.Drag sessions to reorderoff a drag on a row moved nothing, and on it moved rows again; withSession menuoff a right press on a row opened nothing, and on it opened the menu as before.settingstesta_file_without_the_session_switches_leaves_them_on: a settings file without either field takes both on.Checklist
[FEATURE REQUEST],[BUG REPORT]or[Other]Notes
Settingsalready carries#[serde(default)], so a settings.json from 0.1.8 that lacks the two fields takes them on, and neitherdeny_unknown_fieldsnor a missing field can stop a start.lists::Listand its owngap_0p5; on, it is Ely'sReorderwith apb_0p5under each row. The spacing stays the same either way.src/sessions.rsreads the switch fromSettingsStoreas it builds the row, so no parameter threads through the row's callers.PRD.mdsections 7 and 10,README.md,TASKS.md(T73) and the two rows intasks/acceptance.md(sections 7 and 10) carry the change.