Environment (please complete the following information):
Operating System: MacOs Ventura 13.4.1
Installation:
taskwarrior-tui version: 0.25.1
taskwarrior-tui --version
task version: 2.6.2
task --version
Additional context and information
Backtrace (most recent call first):
File "", line 0, in ratatui::buffer::Buffer::set_stringn
File "", line 0, in ratatui::buffer::Buffer::set_string
File "", line 0, in ::render
File "", line 0, in ratatui::terminal::Frame::render_widget
File "", line 0, in taskwarrior_tui::app::TaskwarriorTui::draw
File "", line 0, in ratatui::terminal::Terminal::draw
File "", line 0, in taskwarrior_tui::tui_main::{{closure}}
File "", line 0, in tokio::runtime::park::CachedParkThread::block_on
File "", line 0, in tokio::runtime::context::blocking::BlockingRegionGuard::block_on
File "", line 0, in tokio::runtime::context::runtime::enter_runtime
File "", line 0, in tokio::runtime::scheduler::multi_thread::MultiThread::block_on
File "", line 0, in tokio::runtime::runtime::Runtime::block_on
File "", line 0, in taskwarrior_tui::main
File "", line 0, in std::sys_common::backtrace::__rust_begin_short_backtrace
File "", line 0, in std::rt::lang_start::{{closure}}
File "", line 0, in std::panicking::try
File "", line 0, in std::rt::lang_start_internal
File "", line 0, in std::rt::lang_start
File "", line 0, in _main
The application panicked (crashed).
index out of bounds: the len is 33384 but the index is 33554
in /Users/brew/Library/Caches/Homebrew/cargo_cache/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.21.0/src/buffer.rs, line 298
thread: main
Describe the bug
Crashes when switching to calendar view. MacOS Ventura 13.4.1 Homebrew taskwarrior-tui 0.25.1
It can be reproducible with the testdata.
To Reproduce
Steps to reproduce the behavior:
]
twice to switch to calendar viewEnvironment (please complete the following information):
Additional context and information
Backtrace (most recent call first): File "", line 0, in ratatui::buffer::Buffer::set_stringn
File "", line 0, in ratatui::buffer::Buffer::set_string
File "", line 0, in ::render
File "", line 0, in ratatui::terminal::Frame::render_widget
File "", line 0, in taskwarrior_tui::app::TaskwarriorTui::draw
File "", line 0, in ratatui::terminal::Terminal::draw
File "", line 0, in taskwarrior_tui::tui_main::{{closure}}
File "", line 0, in tokio::runtime::park::CachedParkThread::block_on
File "", line 0, in tokio::runtime::context::blocking::BlockingRegionGuard::block_on
File "", line 0, in tokio::runtime::context::runtime::enter_runtime
File "", line 0, in tokio::runtime::scheduler::multi_thread::MultiThread::block_on
File "", line 0, in tokio::runtime::runtime::Runtime::block_on
File "", line 0, in taskwarrior_tui::main
File "", line 0, in std::sys_common::backtrace::__rust_begin_short_backtrace
File "", line 0, in std::rt::lang_start::{{closure}}
File "", line 0, in std::panicking::try
File "", line 0, in std::rt::lang_start_internal
File "", line 0, in std::rt::lang_start
File "", line 0, in _main
The application panicked (crashed). index out of bounds: the len is 33384 but the index is 33554 in /Users/brew/Library/Caches/Homebrew/cargo_cache/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.21.0/src/buffer.rs, line 298 thread: main