mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-07-03 01:41:15 -03:00
Add an initial test for fish_cursor_selection_mode
This commit is contained in:
committed by
ridiculousfish
parent
5cf67c2d61
commit
7d198fa404
@@ -1049,8 +1049,8 @@ wcstring combine_command_and_autosuggestion(const wcstring &cmdline,
|
||||
}
|
||||
|
||||
bool reader_data_t::select_char_after_cursor() {
|
||||
auto val = vars().get(L"fish_select_char_after_cursor");
|
||||
return !val || val->as_string() == L"1";
|
||||
auto val = vars().get(L"fish_cursor_selection_mode");
|
||||
return !val || val->as_string() == L"inclusive";
|
||||
}
|
||||
|
||||
/// Update the cursor position.
|
||||
|
||||
Reference in New Issue
Block a user