Skip to content

ui2: "press any key" prompt still present #35876

@przepompownia

Description

@przepompownia

Problem

It seems there is no need to show this message when trying to quit (by Lua call) on unsaved buffer.

Steps to reproduce

  • nvim --clean --cmd 'set cmdheight=0' --cmd "lua require('vim._extui').enable({enable = true, msg = {target = 'msg'}})" -c 'call feedkeys("aa\<Esc>")'
  • call :lua vim.cmd.quit()

Expected behavior

No Press any key to continue prompt - only messages appears.

Nvim version (nvim -v)

v0.12.0-dev-1235+ga7b28d8147

Vim (not Nvim) behaves the same?

n/a

Operating system/version

Debian Sid

Terminal name/version

alacritty

$TERM environment variable

alacritty

Installation

from repo

Metadata

Metadata

Assignees

Labels

ui2Nvim 0.12 mesages/dialog/pager/notifications based on the UI-ext protocol

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions