You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thread 'debug::test' panicked at 'adjust_page called before height or render'
stack backtrace:
0: rust_begin_unwind
at /rustc/97032a6dfacdd3548e4bff98c90a6b3875a14077/library/std/src/panicking.rs:517:5
1: core::panicking::panic_fmt
at /rustc/97032a6dfacdd3548e4bff98c90a6b3875a14077/library/core/src/panicking.rs:101:14
2: core::option::expect_failed
at /rustc/97032a6dfacdd3548e4bff98c90a6b3875a14077/library/core/src/option.rs:1615:5
3: core::option::Option<T>::expect
at /rustc/97032a6dfacdd3548e4bff98c90a6b3875a14077/library/core/src/option.rs:698:21
4: requestty_ui::select::Select<L>::adjust_page
at [:REDACTED:]/requestty-ui-0.2.0/src/select/mod.rs:279:24
5: requestty_ui::select::Select<L>::maybe_adjust_page
at [:REDACTED:]/requestty-ui-0.2.0/src/select/mod.rs:382:13
6: requestty_ui::select::Select<L>::set_at
at [:REDACTED:]/requestty-ui-0.2.0/src/select/mod.rs:144:17
7: requestty::question::select::Select::into_prompt
at [:REDACTED:]/requestty-0.1.2/src/question/select/mod.rs:113:13
8: requestty::question::select::Select::ask
at [:REDACTED:]/requestty-0.1.2/src/question/select/mod.rs:130:34
9: requestty::question::Question::ask
at [:REDACTED:]/requestty-0.1.2/src/question/mod.rs:520:40
10: requestty::prompt_one_with
at [:REDACTED:]/requestty-0.1.2/src/lib.rs:283:15
11: requestty::prompt_one
at [:REDACTED:]/requestty-0.1.2/src/lib.rs:259:5
12: clashctl::debug::test
at ./src/debug.rs:4:5
thread 'debug::test' panicked at '
adjust_page
called beforeheight
orrender
'Minimum reproducable case:
This is the exact code produced the above backtrace.
Only when default = 0 will make the program panic.
The text was updated successfully, but these errors were encountered: