iankressin / eql

Query language to interact with EVM chains
https://eql.sh
MIT License
61 stars 5 forks source link

REPL backspace bug #23

Closed yulesa closed 3 months ago

yulesa commented 3 months ago

While using the REPL CLI, if you move the cursor and try deleting a character, the character deleted is not the one where the cursor is, but the last one.

**Steps to reproduce the behavior:

Expected behavior The deletion of the character where the cursor is.

Additional context The issue is in the repl.rs: pub async fn run(&mut self) -> Result<(), Box<dyn std::error::Error>> function.

yulesa commented 3 months ago

Proposed fix in PR: https://github.com/iankressin/eql/pull/24

yulesa commented 3 months ago

Fixed in PR: https://github.com/iankressin/eql/pull/24