Skip to content

internal error: entered unreachable code - when using up arrow #327

@kistlin

Description

@kistlin

Description

Application crashes when using up arrow on the left hand side.

termscp_crash.mp4

Steps to reproduce

Use Shift+Tab to select Host type field.
Press up arrow until crash.
(After Default local working directory is selected, press up arrow twice.)

/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/termscp-0.16.1/src/ui/activities/auth/update.rs:401:49:
internal error: entered unreachable codenment variable to display a backtrace
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Expected behaviour

Iterate the fields top left indefinitely.

Environment

  • Linux (Arch)
  • Architecture x86_64
  • Rust version: stable-x86_64-unknown-linux-gnu (rustc 1.84.1 (e71f9a9a9 2025-01-27))
  • termscp version: 0.16.1

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions