Skip to content

AP mode starts an invisible SSID/password formΒ #145

@AuthenticSm1les

Description

@AuthenticSm1les

When Impala is in AP mode, pressing n activates the access point input flow, but the SSID/password popup is not rendered.

Symptoms:

  • n appears to do nothing visually
  • typing still fills the hidden fields
  • Tab and Enter still work, so an AP can be started blindly

There is a second issue in the same flow:

  • AP mode advertises n New AP and x Stop AP
  • the AP event handler was not processing those keybindings in the FocusedBlock::AccessPoint branch

Root cause:

  • the handler switches focus to FocusedBlock::AccessPointInput
  • ui.rs never renders the AP input popup for that focused block
  • the AP-mode handler also skipped the configured start/stop keys in the AP pane

Fix:

  • handle config.ap.start / config.ap.stop in AP mode
  • render the AP input popup when FocusedBlock::AccessPointInput is active

Validation:

  • cargo build
  • launch patched binary in AP mode
  • press n
  • popup becomes visible
  • enter SSID/passphrase and start AP successfully

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions