Mercurial > vim
comparison src/term.c @ 31305:216c01bb1f90 v9.0.0986
patch 9.0.0986: build failure with tiny version
Commit: https://github.com/vim/vim/commit/5390c05a3ca712da8fc56b14517c99c740551c0b
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Dec 2 13:10:03 2022 +0000
patch 9.0.0986: build failure with tiny version
Problem: Build failure with tiny version.
Solution: Add #ifdef.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 02 Dec 2022 14:15:03 +0100 |
parents | d2107f7b2155 |
children | e352d200d096 |
comparison
equal
deleted
inserted
replaced
31304:c5214be0259d | 31305:216c01bb1f90 |
---|---|
5154 && (kitty_protocol_state == KKPS_INITIAL | 5154 && (kitty_protocol_state == KKPS_INITIAL |
5155 || kitty_protocol_state == KKPS_OFF | 5155 || kitty_protocol_state == KKPS_OFF |
5156 || kitty_protocol_state == KKPS_AFTER_T_KE) | 5156 || kitty_protocol_state == KKPS_AFTER_T_KE) |
5157 && term_props[TPR_KITTY].tpr_status != TPR_YES) | 5157 && term_props[TPR_KITTY].tpr_status != TPR_YES) |
5158 { | 5158 { |
5159 #ifdef FEAT_EVAL | |
5159 ch_log(NULL, "setting seenModifyOtherKeys to TRUE"); | 5160 ch_log(NULL, "setting seenModifyOtherKeys to TRUE"); |
5161 #endif | |
5160 seenModifyOtherKeys = TRUE; | 5162 seenModifyOtherKeys = TRUE; |
5161 } | 5163 } |
5162 | 5164 |
5163 int key = trail == 'u' ? arg[0] : arg[2]; | 5165 int key = trail == 'u' ? arg[0] : arg[2]; |
5164 int modifiers = decode_modifiers(arg[1]); | 5166 int modifiers = decode_modifiers(arg[1]); |
5433 { | 5435 { |
5434 kitty_protocol_state = KKPS_ENABLED; | 5436 kitty_protocol_state = KKPS_ENABLED; |
5435 | 5437 |
5436 // Reset seenModifyOtherKeys just in case some key combination has | 5438 // Reset seenModifyOtherKeys just in case some key combination has |
5437 // been seen that set it before we get the status response. | 5439 // been seen that set it before we get the status response. |
5440 #ifdef FEAT_EVAL | |
5438 ch_log(NULL, "setting seenModifyOtherKeys to FALSE"); | 5441 ch_log(NULL, "setting seenModifyOtherKeys to FALSE"); |
5442 #endif | |
5439 seenModifyOtherKeys = FALSE; | 5443 seenModifyOtherKeys = FALSE; |
5440 } | 5444 } |
5441 | 5445 |
5442 key_name[0] = (int)KS_EXTRA; | 5446 key_name[0] = (int)KS_EXTRA; |
5443 key_name[1] = (int)KE_IGNORE; | 5447 key_name[1] = (int)KE_IGNORE; |