Skip to content

Apply termcap entries when 'keyprotocol' changes#13211

Closed
gpanders wants to merge 2 commits intovim:masterfrom
gpanders:keyprotocol
Closed

Apply termcap entries when 'keyprotocol' changes#13211
gpanders wants to merge 2 commits intovim:masterfrom
gpanders:keyprotocol

Conversation

@gpanders
Copy link
Copy Markdown
Contributor

@gpanders gpanders commented Sep 28, 2023

When the 'keyprotocol' option was set after startup (including in a
user's .vimrc) the termcap entries associated with the matching protocol
were not applied. Thus, setting the option has no effect.

When 'keyprotocol' is changed it should also update the termcap entries.

When the 'keyprotocol' option was set after startup (including in a
user's .vimrc) the termcap entries associated with the matching protocol
were not applied. Thus, setting the option has no affect.

When 'keyprotocol' is changed it should also update the termcap entries.
@gpanders
Copy link
Copy Markdown
Contributor Author

Test failures look unrelated (looks like they started in 9eb1ce5).

@chrisbra
Copy link
Copy Markdown
Member

chrisbra commented Sep 28, 2023

Thanks, I think this makes sense. But can we have a test for this please?

@gpanders
Copy link
Copy Markdown
Contributor Author

@chrisbra Added in 9593e4e.

@codecov
Copy link
Copy Markdown

codecov bot commented Sep 29, 2023

Codecov Report

Merging #13211 (9593e4e) into master (e845b38) will decrease coverage by 1.25%.
Report is 6 commits behind head on master.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master   #13211      +/-   ##
==========================================
- Coverage   82.72%   81.48%   -1.25%     
==========================================
  Files         150      160      +10     
  Lines      182155   195364   +13209     
  Branches    40937    43823    +2886     
==========================================
+ Hits       150696   159193    +8497     
- Misses      18515    23440    +4925     
+ Partials    12944    12731     -213     
Flag Coverage Δ
huge-clang-Array 82.76% <100.00%> (+0.03%) ⬆️
linux 82.76% <100.00%> (+0.03%) ⬆️
mingw-x64-HUGE 76.72% <100.00%> (?)
windows 76.72% <100.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
src/optionstr.c 91.53% <100.00%> (-0.14%) ⬇️
src/term.c 73.93% <100.00%> (-0.12%) ⬇️

... and 142 files with indirect coverage changes

@chrisbra chrisbra closed this in 3695d0e Sep 29, 2023
@gpanders gpanders deleted the keyprotocol branch September 29, 2023 18:39
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