Mercurial > vim
comparison src/main.c @ 20768:1e2e81dbb958 v8.2.0936
patch 8.2.0936: some terminals misinterpret the code for getting cursor style
Commit: https://github.com/vim/vim/commit/a45551a53557dba98973fdb3ff737dea2fffcda3
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jun 9 15:57:37 2020 +0200
patch 8.2.0936: some terminals misinterpret the code for getting cursor style
Problem: Some terminals misinterpret the code for getting cursor style.
Solution: Send a sequence to the terminal and check the result. (IWAMOTO
Kouichi, closes #2126) Merged with current code.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 09 Jun 2020 16:00:05 +0200 |
parents | 70d561931721 |
children | 2616c5a337e0 |
comparison
equal
deleted
inserted
replaced
20767:c7edd278df99 | 20768:1e2e81dbb958 |
---|---|
791 // Must come before the may_req_ calls. | 791 // Must come before the may_req_ calls. |
792 starting = 0; | 792 starting = 0; |
793 | 793 |
794 #if defined(FEAT_TERMRESPONSE) | 794 #if defined(FEAT_TERMRESPONSE) |
795 // Must be done before redrawing, puts a few characters on the screen. | 795 // Must be done before redrawing, puts a few characters on the screen. |
796 may_req_ambiguous_char_width(); | 796 check_terminal_behavior(); |
797 #endif | 797 #endif |
798 | 798 |
799 RedrawingDisabled = 0; | 799 RedrawingDisabled = 0; |
800 redraw_all_later(NOT_VALID); | 800 redraw_all_later(NOT_VALID); |
801 no_wait_return = FALSE; | 801 no_wait_return = FALSE; |