fish-shell/src
ridiculousfish 18b56637f7 self-insert bindings to insert their own sequence
Prior to this fix, self-insert would always wait for a new character.
Track in char_event what sequence generated the readline event, and then
if the sequence is not empty, insert that sequence.

This will support implementing the space binding via pure readline
functions.
2019-09-21 15:58:57 -07:00
..
widecharwidth Update widechar_width 2019-05-14 09:49:51 +02:00
autoload.cpp Initialize a const variable 2019-08-16 17:50:41 -07:00
autoload.h Revert "Revert "Add a test for autoload_t"" 2019-06-07 12:12:43 -07:00
builtin.cpp Eliminate shell_is_interactive 2019-06-29 11:28:26 -07:00
builtin.h builtins: Use standard builtin.h error macros more 2019-09-17 22:04:33 -07:00
builtin_argparse.cpp argparse: Fix validation for short-only-flags 2019-05-06 17:24:42 +02:00
builtin_argparse.h implement argparse builtin 2017-07-12 22:38:24 -07:00
builtin_bg.cpp Migrate some job flags into const properties struct 2019-06-23 12:42:44 -07:00
builtin_bg.h split builtin bg into its own module 2017-06-16 21:01:56 -07:00
builtin_bind.cpp Allow binding nul (zero byte) 2019-09-14 16:37:57 -07:00
builtin_bind.h Allow binding nul (zero byte) 2019-09-14 16:37:57 -07:00
builtin_block.cpp Event blocks just block all events 2019-02-23 13:02:07 -08:00
builtin_block.h split builtin block into its own module 2017-06-16 21:01:56 -07:00
builtin_builtin.cpp Reformat all files 2019-05-05 12:09:25 +02:00
builtin_builtin.h split builtin builtin into its own module 2017-06-16 21:01:56 -07:00
builtin_cd.cpp Eliminate shell_is_interactive 2019-06-29 11:28:26 -07:00
builtin_cd.h split builtin cd into its own module 2017-06-16 21:01:56 -07:00
builtin_command.cpp Reformat all files 2019-05-05 12:09:25 +02:00
builtin_command.h split builtin command into its own module 2017-06-16 21:01:56 -07:00
builtin_commandline.cpp builtins: Use standard builtin.h error macros more 2019-09-17 22:04:33 -07:00
builtin_commandline.h Reformat all files 2019-05-05 12:09:25 +02:00
builtin_complete.cpp Colorize complete output 2019-09-19 04:27:33 -07:00
builtin_complete.h This commit changes wchar.h includes to cwchar, and uses std:: 2019-03-12 15:09:36 -07:00
builtin_contains.cpp This commit changes wchar.h includes to cwchar, and uses std:: 2019-03-12 15:09:36 -07:00
builtin_contains.h split builtin contains into its own module 2017-06-16 21:01:56 -07:00
builtin_disown.cpp Eliminate the global jobs() function 2019-05-05 11:33:08 -07:00
builtin_disown.h split builtin disown into its own module 2017-06-16 21:01:56 -07:00
builtin_echo.cpp Reformat all files 2019-05-05 12:09:25 +02:00
builtin_echo.h split builtin echo into its own module 2017-06-16 21:01:56 -07:00
builtin_emit.cpp Make events per-parser 2019-06-03 02:48:35 -07:00
builtin_emit.h split builtin emit into its own module 2017-06-16 21:01:56 -07:00
builtin_eval.cpp Remove some unused variables 2019-05-12 18:23:00 -07:00
builtin_eval.h Re-implement eval as a regular builtin 2019-04-12 07:04:15 -05:00
builtin_exit.cpp builtins: Use standard builtin.h error macros more 2019-09-17 22:04:33 -07:00
builtin_exit.h split builtin exit into its own module 2017-06-16 21:01:56 -07:00
builtin_fg.cpp Migrate some job flags into const properties struct 2019-06-23 12:42:44 -07:00
builtin_fg.h split builtin fg into its own module 2017-06-16 21:01:56 -07:00
builtin_function.cpp Make is_event and other globals part of parser_t libdata 2019-05-18 19:03:45 -07:00
builtin_function.h Functions to store nodes 2018-02-12 10:49:22 -08:00
builtin_functions.cpp Show wrap targets when printing a function 2019-09-21 12:48:51 -07:00
builtin_functions.h split builtin functions into its own module 2017-06-16 21:01:56 -07:00
builtin_history.cpp builtins: Use standard builtin.h error macros more 2019-09-17 22:04:33 -07:00
builtin_history.h split builtin history into its own module 2017-06-16 21:01:56 -07:00
builtin_jobs.cpp jobs: return success when a job is found via --last 2019-09-14 13:01:36 -05:00
builtin_jobs.h This commit changes wchar.h includes to cwchar, and uses std:: 2019-03-12 15:09:36 -07:00
builtin_math.cpp Reformat all files 2019-05-05 12:09:25 +02:00
builtin_math.h Implement bare minimum builtin math command 2017-08-23 14:43:45 -07:00
builtin_printf.cpp Reformat all files 2019-05-05 12:09:25 +02:00
builtin_printf.h This commit changes wchar.h includes to cwchar, and uses std:: 2019-03-12 15:09:36 -07:00
builtin_pwd.cpp Reformat all files 2019-05-05 12:09:25 +02:00
builtin_pwd.h split builtin pwd into its own module 2017-06-16 21:01:56 -07:00
builtin_random.cpp builtins: Use standard builtin.h error macros more 2019-09-17 22:04:33 -07:00
builtin_random.h split builtin random into its own module 2017-06-16 21:01:56 -07:00
builtin_read.cpp builtins: Use standard builtin.h error macros more 2019-09-17 22:04:33 -07:00
builtin_read.h split builtin status and read into its own module 2017-06-16 21:01:56 -07:00
builtin_realpath.cpp Reformat all files 2019-05-05 12:09:25 +02:00
builtin_realpath.h split builtin realpath into its own module 2017-06-16 21:01:56 -07:00
builtin_return.cpp builtins: Use standard builtin.h error macros more 2019-09-17 22:04:33 -07:00
builtin_return.h split builtin return into its own module 2017-06-16 21:01:56 -07:00
builtin_set.cpp Ellipsis OCD 2019-09-19 11:48:37 -07:00
builtin_set.h This commit changes wchar.h includes to cwchar, and uses std:: 2019-03-12 15:09:36 -07:00
builtin_set_color.cpp builtin_set_color.cpp: remove unnecessary .c_str() 2019-09-18 00:09:23 -07:00
builtin_set_color.h This commit changes wchar.h includes to cwchar, and uses std:: 2019-03-12 15:09:36 -07:00
builtin_source.cpp Thread a parser into reader 2019-05-26 18:51:47 -07:00
builtin_source.h split builtin source into its own module 2017-06-16 21:01:56 -07:00
builtin_status.cpp Make is_event and other globals part of parser_t libdata 2019-05-18 19:03:45 -07:00
builtin_status.h split builtin status and read into its own module 2017-06-16 21:01:56 -07:00
builtin_string.cpp builtins: Use standard builtin.h error macros more 2019-09-17 22:04:33 -07:00
builtin_string.h This commit changes wchar.h includes to cwchar, and uses std:: 2019-03-12 15:09:36 -07:00
builtin_test.cpp test: Fix return type 2019-05-29 20:50:35 +02:00
builtin_test.h restyle builtin modules to match project style 2016-04-26 21:58:59 -07:00
builtin_ulimit.cpp Stop printing help summary on error 2019-03-26 19:24:48 +01:00
builtin_ulimit.h This commit changes wchar.h includes to cwchar, and uses std:: 2019-03-12 15:09:36 -07:00
builtin_wait.cpp Minor cleanup of how jobs store their command string 2019-09-09 09:07:25 -07:00
builtin_wait.h add wait command 2017-11-16 10:48:21 -08:00
color.cpp Reformat all files 2019-05-05 12:09:25 +02:00
color.h Switches over to cstring from string.h. 2019-03-12 15:09:36 -07:00
common.cpp Revert "Escape separators (colon and equals) to improve completion" 2019-09-19 14:38:16 +08:00
common.h Revert "Escape separators (colon and equals) to improve completion" 2019-09-19 14:38:16 +08:00
complete.cpp Do not try the same (command, wraps) pair more than once when completing 2019-09-21 14:09:38 -07:00
complete.h complete: Add "--force-files" 2019-05-30 19:13:42 +02:00
enum_set.h Clean up enum_set.h header 2019-04-26 16:08:19 -07:00
env.cpp Remove unused macros 2019-09-18 01:31:03 -07:00
env.h Provide an optimized override of get_pwd_slash() 2019-06-10 10:26:33 -07:00
env_dispatch.cpp Remove unused macros 2019-09-18 01:31:03 -07:00
env_dispatch.h Move locale and curses init from env to env_dispatch 2019-04-08 16:22:04 -07:00
env_universal_common.cpp Correctly export empty universal variables 2019-07-21 12:45:29 -07:00
env_universal_common.h Use a generation count for uvars exports 2019-06-09 13:48:07 -07:00
event.cpp Eliminate shell_is_interactive 2019-06-29 11:28:26 -07:00
event.h Make events per-parser 2019-06-03 02:48:35 -07:00
exec.cpp Remove unused macros 2019-09-18 01:31:03 -07:00
exec.h Migrate the global exec_count into the parser 2019-05-04 20:58:35 -07:00
expand.cpp clang-format all files 2019-06-03 20:30:48 -07:00
expand.h Use maybe_t in unescape_string_internal 2019-09-14 13:17:22 -07:00
fallback.cpp Drop wcwidth ASCII check 2019-05-14 09:49:51 +02:00
fallback.h Try fixing __has_attribute errors on Travis macOS 2019-09-05 23:11:59 -05:00
fish.cpp Don't generate exit events for jobs created from within event handlers 2019-06-26 17:30:51 -07:00
fish_indent.cpp Colorize complete output 2019-09-19 04:27:33 -07:00
fish_key_reader.cpp Allow binding nul (zero byte) 2019-09-14 16:37:57 -07:00
fish_test_helper.cpp Add some new tricks to fish_test_helper 2019-07-27 11:00:07 -07:00
fish_tests.cpp Do not add a space after completion if one is already there 2019-09-18 14:02:24 -05:00
fish_version.cpp Reformat all files 2019-05-05 12:09:25 +02:00
fish_version.h Revert "Generate FISH_BUILD_VERSION info for cmake builds" 2018-01-08 22:28:10 -08:00
flog.cpp FLOG narrow-string output to use fwprintf 2019-05-31 09:31:42 -07:00
flog.h Migrate history profiling to flog 2019-08-18 11:14:45 -07:00
function.cpp Only use the global fish_complete_path and fish_function_path 2019-07-12 12:40:12 -07:00
function.h Remove the process from function_block_t 2019-05-18 21:09:04 -07:00
future_feature_flags.cpp string-replace-fewer-backslashes -> regex-easyesc 2019-08-13 22:32:04 -07:00
future_feature_flags.h Reformat all files 2019-05-05 12:09:25 +02:00
global_safety.h Make the input_common lookahead main-thread only 2019-05-04 20:58:36 -07:00
highlight.cpp Colorize complete output 2019-09-19 04:27:33 -07:00
highlight.h Colorize complete output 2019-09-19 04:27:33 -07:00
history.cpp Introduce reader_test_should_cancel 2019-09-21 13:07:55 -07:00
history.h Use move semantics in trim and history_item_t 2019-08-25 13:37:06 -07:00
history_file.cpp Equip history_item_t with a default constructor 2019-08-17 20:01:44 -07:00
history_file.h Make escape_yaml_fish_2_0 and unescape_yaml_fish_2_0 static 2019-08-12 09:22:21 -07:00
input.cpp self-insert bindings to insert their own sequence 2019-09-21 15:58:57 -07:00
input.h Allow binding nul (zero byte) 2019-09-14 16:37:57 -07:00
input_common.cpp Revert "Revert "Don't service ioport completions if data is available on stdin"" 2019-06-23 16:45:06 -07:00
input_common.h self-insert bindings to insert their own sequence 2019-09-21 15:58:57 -07:00
intern.cpp This commit changes wchar.h includes to cwchar, and uses std:: 2019-03-12 15:09:36 -07:00
intern.h restyle intern module to match project style 2016-05-01 20:28:46 -07:00
io.cpp Correct handling of explicitly separated output when all elements are empty 2019-07-21 14:00:27 -07:00
io.h Correct handling of explicitly separated output when all elements are empty 2019-07-21 14:00:27 -07:00
iothread.cpp Improve the iothread port structure 2019-06-03 16:42:51 -07:00
iothread.h Make thread_id a visible thing 2019-05-29 12:34:11 -07:00
kill.cpp Minor cleanup of kill ring 2019-03-23 23:31:24 -07:00
kill.h Minor cleanup of kill ring 2019-03-23 23:31:24 -07:00
lru.h Titlecase LRU template parameters 2019-04-27 12:07:16 -07:00
maybe.h Reformat all files 2019-05-05 12:09:25 +02:00
output.cpp Convert debug(0) calls to FLOG 2019-05-27 17:31:17 -07:00
output.h Switches over to cstring from string.h. 2019-03-12 15:09:36 -07:00
pager.cpp Reformat all files 2019-05-05 12:09:25 +02:00
pager.h Move selection_direction_t to pager.h and make it a class enum 2019-04-28 14:06:03 -07:00
parse_constants.h Remove __packed 2019-08-10 16:04:05 -07:00
parse_execution.cpp Allow switch with something that expands to nothing 2019-07-31 14:08:28 +02:00
parse_execution.h Remove all block_t subclasses 2019-05-19 14:44:40 -07:00
parse_grammar.h Reformat all files 2019-05-05 12:09:25 +02:00
parse_grammar_elements.inc Rework 'and' and 'or' to be "job decorators" 2018-03-05 13:41:36 -08:00
parse_productions.cpp Disallow parsing 'and' and 'or' as commands 2019-09-08 11:09:32 -07:00
parse_productions.h style cleanups 2017-05-01 22:05:35 -07:00
parse_tree.cpp Disallow parsing 'and' and 'or' as commands 2019-09-08 11:09:32 -07:00
parse_tree.h Reformat all files 2019-05-05 12:09:25 +02:00
parse_util.cpp Ellipsis OCD 2019-09-19 11:48:37 -07:00
parse_util.h Migrate parse_util_detect_errors to a free function 2019-08-04 14:49:56 -07:00
parser.cpp Migrate parse_util_detect_errors to a free function 2019-08-04 14:49:56 -07:00
parser.h Migrate parse_util_detect_errors to a free function 2019-08-04 14:49:56 -07:00
parser_keywords.cpp Reformat all files 2019-05-05 12:09:25 +02:00
parser_keywords.h Make IWYU output in lint.cpp less messy 2016-06-23 17:26:08 -07:00
path.cpp clang-format all files 2019-06-03 20:30:48 -07:00
path.h Simplify reporting of invalid config paths 2019-05-01 17:51:51 -07:00
postfork.cpp child_setup_process to accept new termowner directly 2019-07-03 18:06:35 -07:00
postfork.h child_setup_process to accept new termowner directly 2019-07-03 18:06:35 -07:00
print_help.cpp Switches over to cstring from string.h. 2019-03-12 15:09:36 -07:00
print_help.h restyle proc module to match project style 2016-05-02 22:07:58 -07:00
proc.cpp Restore terminal modes after sending SIGCONT 2019-09-01 17:24:23 -07:00
proc.h Minor cleanup of how jobs store their command string 2019-09-09 09:07:25 -07:00
reader.cpp Correct an assertion message 2019-09-21 15:17:09 -07:00
reader.h Introduce reader_test_should_cancel 2019-09-21 13:07:55 -07:00
redirection.cpp Remove unused macros 2019-09-18 01:31:03 -07:00
redirection.h Reformat all files 2019-05-05 12:09:25 +02:00
sanity.cpp More using FLOGF when formatting is needed 2019-05-30 11:54:09 +02:00
sanity.h Eliminate the global jobs() function 2019-05-05 11:33:08 -07:00
screen.cpp Correct an out-of-bounds index in screen 2019-08-10 14:32:55 -07:00
screen.h Make sure initial indentation is done using cursor move, not spaces. 2019-06-09 11:36:47 -07:00
signal.cpp Eliminate shell_is_interactive 2019-06-29 11:28:26 -07:00
signal.h Eliminate shell_is_interactive 2019-06-29 11:28:26 -07:00
tinyexpr.cpp Fix build on FreeBSD 12.0 with stock Clang 2019-06-10 16:51:42 -05:00
tinyexpr.h [tinyexpr] Port to C++ 2018-12-30 19:34:06 +01:00
tnode.cpp Reformat all files 2019-05-05 12:09:25 +02:00
tnode.h Reformat all files 2019-05-05 12:09:25 +02:00
tokenizer.cpp More using FLOGF when formatting is needed 2019-05-30 11:54:09 +02:00
tokenizer.h remove some wcstring -> wchar_t* -> wcstring conversions 2019-03-14 15:21:08 -07:00
topic_monitor.cpp Correct a race in topic monitor 2019-05-31 09:31:42 -07:00
topic_monitor.h Correct a race in topic monitor 2019-05-31 09:31:42 -07:00
utf8.cpp Reformat all files 2019-05-05 12:09:25 +02:00
utf8.h implement our own assert() function 2017-02-14 18:48:27 -08:00
util.cpp wcsfilecmp: be clearer about sorting "-" after letters 2019-05-28 22:05:23 +08:00
util.h Remove mini() and maxi() 2019-03-12 23:25:15 -07:00
wcstringutil.cpp Use move semantics in trim and history_item_t 2019-08-25 13:37:06 -07:00
wcstringutil.h Use move semantics in trim and history_item_t 2019-08-25 13:37:06 -07:00
wgetopt.cpp Reformat all files 2019-05-05 12:09:25 +02:00
wgetopt.h rearrange structure fields 2019-04-04 13:47:10 -07:00
wildcard.cpp Introduce reader_test_should_cancel 2019-09-21 13:07:55 -07:00
wildcard.h Remove EXPAND prefix from expand_flags and lowercase them 2019-04-25 11:34:49 -07:00
wutil.cpp Remove wchdir() 2019-06-10 09:37:08 -07:00
wutil.h Remove wchdir() 2019-06-10 09:37:08 -07:00