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

Atuin cannot read cursor position in mprocs #156

Open
printfn opened this issue Jan 23, 2025 · 0 comments
Open

Atuin cannot read cursor position in mprocs #156

printfn opened this issue Jan 23, 2025 · 0 comments

Comments

@printfn
Copy link

printfn commented Jan 23, 2025

When using atuin in a shell within mprocs, I get an error that it cannot read the cursor position:

Error: The cursor position could not be read within a normal duration

Location:
    crates/atuin/src/command/client/search/interactive.rs:1035:24

The relevant code for this is here: https://github.com/crossterm-rs/crossterm/blob/master/src/cursor/sys/unix.rs#L32

Running atuin outside mprocs works as expected, as does running it in a tmux window within mprocs, so it looks to me like the issue might be caused by mprocs not handling the \x1B[6n escape sequence.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant