[PR #7288] [MERGED] Port map: Enter joins the server list, so both keyPressed rows are ported #7465

Closed
opened 2026-11-03 06:39:52 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/7288
Author: @MSedgeMC
Created: 11/2/2026
Status: ✅ Merged
Merged: 11/2/2026
Merged by: @ludovic111

Base: main ← Head: chore/vol-a-client2-017


📝 Commits (1)

  • 3c95633 port_map: Enter joins the server list, so both keyPressed rows are ported

📊 Changes

1 file changed (+2 additions, -2 deletions)

View changed files

📝 tools/port_map/client2-017.tsv (+2 -2)

📄 Description

Two server-list rows in tools/port_map/client2-017.tsv that called keyboard
joining missing: Enter on the list works, for saved servers and for LAN games.

row before after
ServerSelectionList.OnlineServerEntry.keyPressed missing ("Enter does not join") crates/horizon-client/src/multiplayer.rs::Screen::confirm
ServerSelectionList.NetworkServerEntry.keyPressed missing ("no keyboard join") crates/horizon-client/src/multiplayer.rs::Screen::confirm

Citations checked in the tree

  • Screen::confirm documents itself as DirectJoinServerScreen.keyPressed and
    ServerSelectionList.OnlineServerEntry.keyPressed: Enter joins the selected
    server or LAN game, the same Outcome::Connect a click on the row returns.
  • entry_address resolves the selection index: a saved server up to
    servers.len(), the LAN game past it from the scanner, so the LAN entry's
    Enter path is the same function.
  • The other half of OnlineServerEntry.keyPressed, Shift+Up/Down, is
    Screen::arrow: it swaps the saved server with its neighbour, keeps it
    selected and writes the list back; the note names it.

Map check

python3 tools/port_ledger.py map-check tools/port_map/client2-017.tsv
139 rows, no problems.

Proven: both cited functions exist and carry the vanilla methods in their doc
comments; the map-check passes on the file.

Not proven: nothing was pressed in game. The pack lists keep their keyboard
rows missing (TransferableSelectionList.keyPressed, PackEntry.keyPressed,
keyboardSelection): keys there reach only the search box, and
PackSelectionScreen.Watcher and copyPacks' gap on dropped packs stand.


🔄 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/horizon-rust/horizon/pull/7288 **Author:** [@MSedgeMC](https://github.com/MSedgeMC) **Created:** 11/2/2026 **Status:** ✅ Merged **Merged:** 11/2/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `chore/vol-a-client2-017` --- ### 📝 Commits (1) - [`3c95633`](https://github.com/horizon-rust/horizon/commit/3c9563383f08e4b4c70ff62b9b74a6e5acd75b9f) port_map: Enter joins the server list, so both keyPressed rows are ported ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `tools/port_map/client2-017.tsv` (+2 -2) </details> ### 📄 Description Two server-list rows in `tools/port_map/client2-017.tsv` that called keyboard joining missing: `Enter` on the list works, for saved servers and for LAN games. | row | before | after | | --- | --- | --- | | `ServerSelectionList.OnlineServerEntry.keyPressed` | missing ("Enter does not join") | `crates/horizon-client/src/multiplayer.rs::Screen::confirm` | | `ServerSelectionList.NetworkServerEntry.keyPressed` | missing ("no keyboard join") | `crates/horizon-client/src/multiplayer.rs::Screen::confirm` | **Citations checked in the tree** - `Screen::confirm` documents itself as `DirectJoinServerScreen.keyPressed` and `ServerSelectionList.OnlineServerEntry.keyPressed`: Enter joins the selected server or LAN game, the same `Outcome::Connect` a click on the row returns. - `entry_address` resolves the selection index: a saved server up to `servers.len()`, the LAN game past it from the scanner, so the LAN entry's Enter path is the same function. - The other half of `OnlineServerEntry.keyPressed`, `Shift+Up/Down`, is `Screen::arrow`: it swaps the saved server with its neighbour, keeps it selected and writes the list back; the note names it. **Map check** ``` python3 tools/port_ledger.py map-check tools/port_map/client2-017.tsv 139 rows, no problems. ``` **Proven:** both cited functions exist and carry the vanilla methods in their doc comments; the map-check passes on the file. **Not proven:** nothing was pressed in game. The pack lists keep their keyboard rows missing (`TransferableSelectionList.keyPressed`, `PackEntry.keyPressed`, `keyboardSelection`): keys there reach only the search box, and `PackSelectionScreen.Watcher` and `copyPacks`' gap on dropped packs stand. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:39:52 +07: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
horizon-rust/horizon#7465
No description provided.