Skip to content

feat(ui): auto-resize input win height#217

Merged
sudo-tee merged 5 commits intosudo-tee:mainfrom
disrupted:autoresize-input
Feb 2, 2026
Merged

feat(ui): auto-resize input win height#217
sudo-tee merged 5 commits intosudo-tee:mainfrom
disrupted:autoresize-input

Conversation

@disrupted
Copy link
Contributor

@disrupted disrupted commented Jan 29, 2026

this is just a draft implementation. seeing as the Opencode TUI auto-resizes its prompt I wanted to see if we could add a similar feature to this plugin. curious to hear your thoughts on this.

demo

{
  ui = {
    input = {
      min_height = 0.10,
      max_height = 0.25,
      text = {
        wrap = true,
      },
      auto_hide = true,
    }
  }
}
opencode-native-nvim-autoresize-prompt.mov

@disrupted disrupted marked this pull request as ready for review January 31, 2026 15:20
@disrupted disrupted mentioned this pull request Feb 1, 2026
15 tasks
@sudo-tee
Copy link
Owner

sudo-tee commented Feb 2, 2026

Thanks I really like this :)

@sudo-tee sudo-tee merged commit 09bc7d4 into sudo-tee:main Feb 2, 2026
5 checks passed
@disrupted disrupted deleted the autoresize-input branch February 2, 2026 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants