Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Panic when pressing space in the command prompt #4684

Closed
emilyyyylime opened this issue Nov 9, 2022 · 1 comment
Closed

Panic when pressing space in the command prompt #4684

emilyyyylime opened this issue Nov 9, 2022 · 1 comment
Labels
C-bug Category: This is a bug R-duplicate Duplicated issue: please refer to the linked issue

Comments

@emilyyyylime
Copy link
Contributor

emilyyyylime commented Nov 9, 2022

Backtrace

thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', helix-term/src/commands/typed.rs:2206:41
stack backtrace:
   0: rust_begin_unwind
             at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/panicking.rs:584:5
   1: core::panicking::panic_fmt
             at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/core/src/panicking.rs:143:14
   2: core::panicking::panic
             at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/core/src/panicking.rs:48:5
   3: helix_term::commands::typed::command_mode::{{closure}}
   4: helix_term::ui::prompt::Prompt::insert_char
   5: <helix_term::ui::prompt::Prompt as helix_term::compositor::Component>::handle_event
   6: helix_term::compositor::Compositor::handle_event
   7: helix_term::application::Application::handle_terminal_events
   8: hx::main_impl::{{closure}}
   9: std::thread::local::LocalKey<T>::with
  10: tokio::park::thread::CachedParkThread::block_on
  11: tokio::runtime::scheduler::multi_thread::MultiThread::block_on
  12: tokio::runtime::Runtime::block_on
  13: hx::main

Reproduction Steps

$ hx
:<space>

Helix Version

helix 22.08.1 (4ec2a21)

@emilyyyylime emilyyyylime added the C-bug Category: This is a bug label Nov 9, 2022
@the-mikedavis
Copy link
Member

Duplicate of #4586

This was fixed on master in #4587

@the-mikedavis the-mikedavis closed this as not planned Won't fix, can't repro, duplicate, stale Nov 9, 2022
@the-mikedavis the-mikedavis added the R-duplicate Duplicated issue: please refer to the linked issue label Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug R-duplicate Duplicated issue: please refer to the linked issue
Projects
None yet
Development

No branches or pull requests

2 participants