Skip to content

Dynamic height (09bc7d4) breaks edgy.nvim compatibility and causes hang on quit #253

@turanmahmudov

Description

@turanmahmudov

Commit 09bc7d4 makes opencode.nvim unusable when using edgy.nvim for window management. The cursor jumps to the beginning of the line on every character typed, making it impossible to write prompts.
Additionally, after this commit, Neovim hangs for some time on quit even when not using edgy.nvim at all.

I used this snippet to "fix" edgy.nvim issue for me:

config = function(_, opts)
  require('opencode').setup(opts)

  local input_window = require 'opencode.ui.input_window'
  input_window.schedule_resize = function() end
end,

But I am not sure about the reason of the hanging.

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