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

Can't position row by hx file:[row] #2989

Closed
theowenyoung opened this issue Jul 6, 2022 · 1 comment
Closed

Can't position row by hx file:[row] #2989

theowenyoung opened this issue Jul 6, 2022 · 1 comment
Labels
A-helix-term Area: Helix term improvements C-bug Category: This is a bug

Comments

@theowenyoung
Copy link

Summary

From usage, I tried to open the file with hx test.txt:150, but the cursor was still positioned to line 1.

USAGE:
    hx [FLAGS] [files]...

ARGS:
    <files>...    Sets the input file to use, position can also be specified via file[:row[:col]]

Reproduction Steps

I tried this:

  1. hx test.txt:150

I expected this to happen:

The cursor is positioned to line 50

Instead, this happened:

The cursor is positioned to line 0

Helix log

no error log.

Platform

macOS

Terminal Emulator

Alacritty

Helix Version

230ba26

@theowenyoung theowenyoung added the C-bug Category: This is a bug label Jul 6, 2022
@theowenyoung theowenyoung changed the title Can't position rows by hx file:[row] Can't position row by hx file:[row] Jul 6, 2022
@the-mikedavis the-mikedavis added the A-helix-term Area: Helix term improvements label Jul 6, 2022
@the-mikedavis
Copy link
Member

Fixed by #3073

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-helix-term Area: Helix term improvements C-bug Category: This is a bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants