refactor: the hub is neshub everywhere

Six comments across nescope, neswire and nescapture still named
nestri-guest-hub, plus one still naming nestri-protocol. Deferred from the
import commits so the rename would read as one change rather than six
unexplained edits inside otherwise-verbatim trees.

Comments only. Realigned an ASCII box in encode.rs that the shorter name
knocked crooked.
This commit is contained in:
Wanjohi
2026-08-26 19:02:58 +03:00
parent 3c574af2ea
commit 40b80d4b14
5 changed files with 7 additions and 7 deletions

View File

@@ -32,7 +32,7 @@ use nesprotocol::input::{self as nestri_input, DecodedInput};
use crate::focus::KeyboardFocusTarget;
use crate::state::NescopeState;
// ── Wire protocol constants (mirrors nestri-protocol/src/input.rs) ──
// ── Wire protocol constants (mirrors nesprotocol/src/input.rs) ──
const WIRE_INPUT_KEY: u8 = 0;
const WIRE_INPUT_MOUSE_MOVE: u8 = 1;
const WIRE_INPUT_MOUSE_BUTTON: u8 = 2;
@@ -304,7 +304,7 @@ pub fn process_input(event: InputEvent, state: &mut NescopeState) {
// Wire-protocol decoder
// ---------------------------------------------------------------------------
/// Decode a single input event from the nestri guest-hub wire protocol
/// Decode a single input event from the neshub wire protocol
/// and convert it to an [`InputEvent`] for the compositor seat.
///
/// Uses the shared [`nesprotocol::input::decode_input_event`] and maps:

View File

@@ -337,7 +337,7 @@ fn main() {
}
// ── Input IPC source ─────────────────────────────────────────────────
// Connect to the nestri-guest-hub input socket and feed events into the
// Connect to the neshub input socket and feed events into the
// compositor seat. Reconnection is handled in the idle callback.
let ipc_path = args.input_ipc.clone();
match input_ipc::InputIpcSource::connect(&ipc_path) {