Skip to content

Output is split at teminal/window width #7

Description

@blueyed

When using the terminal method (

if s:UsesTerminal(a:request)
if s:NeedsOutput(a:request)
execute 'botright split | enew | resize 10'
let opts.buf_id = bufnr('%')
call termopen(cmd, opts)
call s:SaveCurrentBufferPid(a:request)
execute 'wincmd p'
else
execute 'tabnew'
call termopen(cmd, opts)
call s:SaveCurrentBufferPid(a:request)
if bg
execute 'tabprev'
else
execute 'startinsert'
endif
endif
), the lines end up being split at the width of the terminal window, which then causes issues when using it with &errorformat etc.
For the other method, there's some joining of lines in place, but this would require for the terminal buffer to have soft-wrapping capabilities.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions