Skip to content

Drawing a border relative to the cursor is broken #11

@TobiasPleyer

Description

@TobiasPleyer

Example call
:lua require('popup').create({"Hello", "World"}, {border=true, title='test', line="cursor+1", col="cursor+0", minwidth=25, minheight=15})

Expected behavior
The content floating window and the border floating window are drawn relative the cursor position.

Observed behavior
Only the content floating window is drawn relative the cursor position. The border floating window has an offset, dependent on the cursor position.

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