Comments (8)
I think this should be fixed on master by now. Let me know to reopen if necessary.
from helix.
The issue remains, tested on commit b873fb9897bb5b24a60cca3d9fa69285446a857f
from helix.
What terminal emulator are you using?
from helix.
$ zsh --version
zsh 5.8 (x86_64-ubuntu-linux-gnu)
$ basename "/"$(ps -f -p $(cat /proc/$(echo $$)/stat | cut -d \ -f 4) | tail -1 | sed 's/^.* //')
gnome-terminal-server
$ echo $TERM
xterm-256color
But I get the exact same issue in bash, see below (or am I doing something wrong here?)
$ bash
$ cd ~/Downloads/helix-editor/helix/
$ RUST_BACKTRACE=1 hx
thread 'main' panicked at 'index out of bounds: the len is 1920 but the index is 49296', helix-tui/src/buffer.rs:185:14
stack backtrace:
0: rust_begin_unwind
at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panicking.rs:493:5
1: core::panicking::panic_fmt
at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/core/src/panicking.rs:92:14
2: core::panicking::panic_bounds_check
at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/core/src/panicking.rs:69:5
3: helix_tui::buffer::Buffer::clear_with
4: helix_term::ui::prompt::Prompt::render_prompt
5: helix_term::compositor::Compositor::render
6: helix_term::application::Application::handle_terminal_events
7: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
8: tokio::park::thread::CachedParkThread::block_on
9: tokio::runtime::thread_pool::ThreadPool::block_on
10: tokio::runtime::Runtime::block_on
11: hx::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
from helix.
Terminal as in alacritty, kitty, GNOME terminal.
I was able to replicate the bug, it seems to happen on a large folder where there's too many completions. Looking at a quick fix now
from helix.
Pushed a fix in 8372395
from helix.
Thanks, I can confirm it is working now
from helix.
Thanks for reporting it!
from helix.
Related Issues (20)
- Remove '' and add ⟨⟩ autopairs in Lean HOT 3
- Visual selection issues.
- Unexpected behaviour while tabbing inside comments HOT 2
- Enabled whitespace rendering adds extra chars into urls HOT 1
- hx complains that theme can't be found HOT 1
- Panic Error in Python with Pyright/Pylsp & Ruff HOT 2
- Vue's LSP only partially supported
- Symbol picker : Display module hierarchy HOT 1
- Rust Lsp rust-analyzer failed to work HOT 2
- Line rendered is off by one
- change mouse right click action
- Godot LSP with [ERROR] Tried sending response into a closed channel
- Helix not showing completion documentation HOT 2
- auto_detect_indent_style detects the wrong indentation HOT 2
- Highlight arguments HOT 1
- GIt Blame inline HOT 1
- Selected tick/quotation mark is marked as "ui.cursor.match" when editing Python files HOT 1
- Cannot replace newline with r HOT 4
- Don't try to open non-regular files HOT 3
- `goto_file` on selection does not work on relative paths only absolute paths HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from helix.