Skip to content

[FILE]:LINE:COL construct fails to display file #3811

@jbcaramar

Description

@jbcaramar

I set up micro as a scrollable, read-only notification tool for viewing available Arch updates. Works amazingly, except for the inverted block cursor at line 1, column 1 obscuring the text. Since there's no -hidecursor option, I looked at using the [FILE]:LINE:COL syntax to move the cursor to the empty last line of the file, so it would be out of the text. But adding a colon and numbers always results in an empty buffer being displayed rather the the contents of the file.

This works as expected.
micro -readonly "true" -statusline "false" -cursorline "false" $HOME/.local/private/rlist.txt

These options display only a window with no text conent.
micro -readonly "true" -statusline "false" -cursorline "false" $HOME/.local/private/rlist.txt:6 micro -readonly "true" -statusline "false" -cursorline "false" $HOME/.local/private/rlist.txt:6:1

Tried quoting the file info, but still get the same result. Am I using this incorrectly?

Version 2.0.15-dev

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions