neovim/test/functional/legacy
Gregory Anders 0dd933265f
feat(terminal)!: cursor shape and blink (#31562)
When a terminal application running inside the terminal emulator sets
the cursor shape or blink status of the cursor, update the cursor in the
parent terminal to match.

This removes the "virtual cursor" that has been in use by the terminal
emulator since the beginning. The original rationale for using the
virtual cursor was to avoid having to support additional UI methods to
change the cursor color for other (non-TUI) UIs, instead relying on the
TermCursor and TermCursorNC highlight groups.

The TermCursor highlight group is now used in the default 'guicursor'
value, which has a new entry for Terminal mode. However, the
TermCursorNC highlight group is no longer supported: since terminal
windows now use the real cursor, when the window is not focused there is
no cursor displayed in the window at all, so there is nothing to
highlight. Users can still use the StatusLineTermNC highlight group to
differentiate non-focused terminal windows.

BREAKING CHANGE: The TermCursorNC highlight group is no longer supported.
2024-12-17 07:11:41 -06:00
..
002_filename_recognition_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
004_bufenter_with_modelines_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
005_bufleave_delete_buffer_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
007_ball_buffer_list_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
008_autocommands_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
011_autocommands_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
012_directory_spec.lua test(012_directory_spec): fix flakiness on Windows (#30920) 2024-10-24 10:03:23 +08:00
015_alignment_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
018_unset_smart_indenting_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
019_smarttab_expandtab_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
020_blockwise_visual_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
021_control_wi_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
023_edit_arguments_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
025_jump_tag_hidden_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
026_execute_while_if_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
028_source_ctrl_v_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
029_join_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
030_fileformats_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
031_close_commands_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
033_lisp_indent_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
034_user_function_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
035_increment_and_decrement_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
036_regexp_character_classes_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
038_virtual_replace_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
039_visual_block_mode_commands_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
043_magic_settings_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
044_099_regexp_multibyte_magic_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
046_multi_line_regexps_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
054_buffer_local_autocommands_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
055_list_and_dict_types_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
056_script_local_function_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
057_sort_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
060_exists_and_has_functions_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
061_undo_tree_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
063_match_and_matchadd_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
065_float_and_logic_operators_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
066_visual_block_tab_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
067_augroup_exists_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
068_text_formatting_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
069_multibyte_formatting_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
072_undo_file_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
074_global_var_in_viminfo_spec.lua test: fix files being left behind (#31004) 2024-10-31 00:04:51 +00:00
078_swapfile_recover_spec.lua test: fix files being left behind (#31004) 2024-10-31 00:04:51 +00:00
081_coptions_movement_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
082_string_comparison_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
083_tag_search_with_file_encoding_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
090_sha256_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
091_context_variables_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
092_mksession_cursor_cols_utf8_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
093_mksession_cursor_cols_latin1_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
094_visual_mode_operators_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
095_regexp_multibyte_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
096_location_list_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
097_glob_path_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
101_hlsearch_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
102_fnameescape_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
103_visual_mode_reset_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
106_errorformat_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
107_adjust_window_and_contents_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
108_backtrace_debug_commands_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
arglist_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
assert_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
autochdir_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
autocmd_option_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
autocmd_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
autoformat_join_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
breakindent_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
changelist_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
charsearch_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
close_count_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
cmdline_spec.lua vim-patch:9.1.0890: %! item not allowed for 'rulerformat' (#31369) 2024-11-28 09:02:10 +08:00
command_count_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
comparators_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
conceal_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
cpoptions_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
crash_spec.lua vim-patch:9.1.0648: [security] double-free in dialog_changed() 2024-08-03 08:25:43 +08:00
debugger_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
delete_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
digraph_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
display_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
edit_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
erasebackword_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
eval_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
ex_mode_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
excmd_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
fixeol_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
fnamemodify_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
fold_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
function_sort_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
getcwd_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
gf_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
glob2regpat_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
global_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
highlight_spec.lua feat(terminal)!: cursor shape and blink (#31562) 2024-12-17 07:11:41 -06:00
increment_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
insertcount_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
join_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
lispwords_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
listchars_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
listlbr_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
listlbr_utf8_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
mapping_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
marks_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
match_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
matchparen_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
memory_usage_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
messages_spec.lua test: unreliable test "messages &messagesopt wait" #31548 2024-12-17 04:19:55 -08:00
mksession_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
move_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
nested_function_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
normal_spec.lua vim-patch:9.1.0869: Problem: curswant not set on gm in folded line (#31247) 2024-11-18 09:52:11 +08:00
number_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
options_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
prompt_buffer_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
put_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
qf_title_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
scroll_opt_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
search_mbyte_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
search_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
search_stat_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
signs_spec.lua feat(ui): sign/statuscolumn can combine highlight attrs #31575 2024-12-14 10:21:50 -08:00
source_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
statusline_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
substitute_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
syn_attr_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
tabline_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
tagcase_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
textobjects_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
undolevels_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
utf8_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
vimscript_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
visual_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
window_cmd_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
wordcount_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
writefile_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00