Skip to content

Windows/TUI: Text overrides line numbers #9461

@kerrytazi

Description

@kerrytazi
  • nvim --version: NVIM v0.3.3 Build type: RelWithDebInfo
  • Operating system/version: Windows 10 Pro x64 latest
  • Terminal name/version: cmd & ConEmu latest

Add or delete any line and buffer overrides line numbers. Ctrl + L helps but it's annoying.

Steps to reproduce using nvim -u NORC

nvim -u NORC
:set nu
:edit main.cpp
dd

Example file: main.cpp

#include <string>
#include <regex>


void via_regex()
{
	std::string content("4aejuj+8tr.v,ebyv-67.3yt3ktux+3.3");

	std::regex re("[+-]?\\d+\\.\\d+");

	std::sregex_iterator begin(content.cbegin(), content.cend(), re);
	std::sregex_iterator end;

	for (auto it = begin; it != end; ++it)
	{
		print_out("regex result: ", it->str(), '\n');
	}
}

Actual behavior

screenshot

Expected behaviour

screenshot

Metadata

Metadata

Assignees

No one assigned

    Labels

    displayredraw, layout, presentationplatform:windowstuitermcodes, terminfo, termcap

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions