fish-shell/src
ridiculousfish 4116829292 Do not issue clr_eos if we think the cursor will end up on its own line
If we output text and end up in the last column, the sticky right edge
will cause a clr_eos to erase the last character. Ensure this doesn't
happen by not issuing clr_eos in that case.

Fixes #6951
2020-04-29 14:22:54 -07:00
..
widecharwidth Update to latest widecharwidth 2020-01-30 21:17:37 -08:00
autoload.cpp [clang-tidy] performance 2020-04-05 10:13:13 +02:00
autoload.h Run clang-format on all files 2019-10-13 15:50:48 -07:00
builtin.cpp remove unreachable break statements 2020-04-12 17:02:17 -07:00
builtin.h [cppcheck] add const in several places 2020-03-14 15:07:54 -07:00
builtin_argparse.cpp remove unreachable break statements 2020-04-12 17:02:17 -07:00
builtin_argparse.h implement argparse builtin 2017-07-12 22:38:24 -07:00
builtin_bg.cpp Eliminate more calls to principal_parser() 2020-02-08 12:46:56 -08:00
builtin_bg.h split builtin bg into its own module 2017-06-16 21:01:56 -07:00
builtin_bind.cpp remove unreachable break statements 2020-04-12 17:02:17 -07:00
builtin_bind.h [cppcheck] add const in several places 2020-03-14 15:07:54 -07:00
builtin_block.cpp remove unreachable break statements 2020-04-12 17:02:17 -07:00
builtin_block.h split builtin block into its own module 2017-06-16 21:01:56 -07:00
builtin_builtin.cpp remove unreachable break statements 2020-04-12 17:02:17 -07:00
builtin_builtin.h split builtin builtin into its own module 2017-06-16 21:01:56 -07:00
builtin_cd.cpp fix(cd): remove duplicated comment introducing the cd builtin 2020-03-10 18:24:07 +01:00
builtin_cd.h split builtin cd into its own module 2017-06-16 21:01:56 -07:00
builtin_command.cpp remove unreachable break statements 2020-04-12 17:02:17 -07:00
builtin_command.h split builtin command into its own module 2017-06-16 21:01:56 -07:00
builtin_commandline.cpp commandline: Don't complain if insert mode has nothing to insert 2020-04-23 17:17:19 +02:00
builtin_commandline.h Reformat all files 2019-05-05 12:09:25 +02:00
builtin_complete.cpp remove unreachable break statements 2020-04-12 17:02:17 -07:00
builtin_complete.h Run clang-format on all files 2019-10-13 15:50:48 -07:00
builtin_contains.cpp remove unreachable break statements 2020-04-12 17:02:17 -07:00
builtin_contains.h split builtin contains into its own module 2017-06-16 21:01:56 -07:00
builtin_disown.cpp Introduce the internal jobs for functions 2019-12-31 10:08:50 -08:00
builtin_disown.h split builtin disown into its own module 2017-06-16 21:01:56 -07:00
builtin_echo.cpp remove unreachable break statements 2020-04-12 17:02:17 -07:00
builtin_echo.h split builtin echo into its own module 2017-06-16 21:01:56 -07:00
builtin_emit.cpp Use a pager to view long outputs of builtin --help 2019-10-28 18:36:07 +01:00
builtin_emit.h split builtin emit into its own module 2017-06-16 21:01:56 -07:00
builtin_eval.cpp Apply code review from #6806 2020-04-28 10:54:48 -07:00
builtin_eval.h Re-implement eval as a regular builtin 2019-04-12 07:04:15 -05:00
builtin_exit.cpp remove unreachable break statements 2020-04-12 17:02:17 -07:00
builtin_exit.h split builtin exit into its own module 2017-06-16 21:01:56 -07:00
builtin_fg.cpp Send events more often for variable sets outside of builtin_set 2020-03-08 23:28:37 -07:00
builtin_fg.h split builtin fg into its own module 2017-06-16 21:01:56 -07:00
builtin_function.cpp remove unreachable break statements 2020-04-12 17:02:17 -07:00
builtin_function.h [clang-tidy] remove redundant string initialization 2020-04-05 10:13:13 +02:00
builtin_functions.cpp remove unreachable break statements 2020-04-12 17:02:17 -07:00
builtin_functions.h split builtin functions into its own module 2017-06-16 21:01:56 -07:00
builtin_history.cpp remove unreachable break statements 2020-04-12 17:02:17 -07:00
builtin_history.h split builtin history into its own module 2017-06-16 21:01:56 -07:00
builtin_jobs.cpp remove unreachable break statements 2020-04-12 17:02:17 -07:00
builtin_jobs.h Run clang-format on all files 2019-10-13 15:50:48 -07:00
builtin_math.cpp remove unreachable break statements 2020-04-12 17:02:17 -07:00
builtin_math.h Implement bare minimum builtin math command 2017-08-23 14:43:45 -07:00
builtin_printf.cpp remove unreachable break statements 2020-04-12 17:02:17 -07:00
builtin_printf.h Run clang-format on all files 2019-10-13 15:50:48 -07:00
builtin_pwd.cpp remove unreachable break statements 2020-04-12 17:02:17 -07:00
builtin_pwd.h split builtin pwd into its own module 2017-06-16 21:01:56 -07:00
builtin_random.cpp [clang-tidy] C to C++ headers 2019-11-25 14:17:49 -08:00
builtin_random.h split builtin random into its own module 2017-06-16 21:01:56 -07:00
builtin_read.cpp Fix builtin "read" up-arrow search skipping first entry 2020-04-14 01:30:54 +02:00
builtin_read.h split builtin status and read into its own module 2017-06-16 21:01:56 -07:00
builtin_realpath.cpp [clang-tidy] C to C++ headers 2019-11-25 14:17:49 -08:00
builtin_realpath.h split builtin realpath into its own module 2017-06-16 21:01:56 -07:00
builtin_return.cpp remove unreachable break statements 2020-04-12 17:02:17 -07:00
builtin_return.h split builtin return into its own module 2017-06-16 21:01:56 -07:00
builtin_set.cpp Shorten set --show output 2020-04-26 08:49:01 +02:00
builtin_set.h Run clang-format on all files 2019-10-13 15:50:48 -07:00
builtin_set_color.cpp remove unreachable break statements 2020-04-12 17:02:17 -07:00
builtin_set_color.h Run clang-format on all files 2019-10-13 15:50:48 -07:00
builtin_source.cpp Clean up reader_read 2020-01-28 11:39:26 -08:00
builtin_source.h split builtin source into its own module 2017-06-16 21:01:56 -07:00
builtin_status.cpp remove unreachable break statements 2020-04-12 17:02:17 -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 Restyle 2020-04-21 21:11:26 +02:00
builtin_string.h Run clang-format on all files 2019-10-13 15:50:48 -07:00
builtin_test.cpp remove unreachable break statements 2020-04-12 17:02:17 -07:00
builtin_test.h restyle builtin modules to match project style 2016-04-26 21:58:59 -07:00
builtin_ulimit.cpp remove unreachable break statements 2020-04-12 17:02:17 -07:00
builtin_ulimit.h Run clang-format on all files 2019-10-13 15:50:48 -07:00
builtin_wait.cpp remove unreachable break statements 2020-04-12 17:02:17 -07:00
builtin_wait.h Run clang-format on all files 2019-10-13 15:50:48 -07:00
color.cpp [clang-tidy] use range based loop 2020-04-05 10:13:13 +02:00
color.h [clang-tidy] Fix inconsistent declarations 2019-11-25 14:13:33 -08:00
common.cpp Fix -Wundef warnings 2020-04-12 17:02:17 -07:00
common.h Restyle 2020-03-26 20:45:40 +01:00
complete.cpp Do not insert a space after completions ending in a comma or dot 2020-04-23 20:11:55 +02:00
complete.h Introduce operation_context_t 2020-01-16 15:21:28 -08:00
enum_set.h [cppcheck] add some std::move 2020-03-14 15:07:54 -07:00
env.cpp [clang-tidy] use auto when casting 2020-04-05 10:13:13 +02:00
env.h Add $fish_kill_signal to track the signal that terminated a command. 2020-04-02 09:32:32 +02:00
env_dispatch.cpp [cppcheck] add const in several places 2020-03-14 15:07:54 -07:00
env_dispatch.h Run clang-format on all files 2019-10-13 15:50:48 -07:00
env_universal_common.cpp Fix -Wundef warnings 2020-04-12 17:02:17 -07:00
env_universal_common.h Continued adoption of autoclose_fd_t and exec_close 2020-01-29 14:16:16 -08:00
event.cpp Fix interactive --on-signal INT handlers 2020-03-01 13:31:59 -08:00
event.h [cppcheck] add some std::move 2020-03-14 15:07:54 -07:00
exec.cpp Introduce out_is_piped and err_is_piped on io_streams_t 2020-04-28 09:59:55 -07:00
exec.h Thread pgroups into command substitutions 2020-04-26 11:05:50 -07:00
expand.cpp Thread pgroups into command substitutions 2020-04-26 11:05:50 -07:00
expand.h [clang-tidy] remove redundant string initialization 2020-04-05 10:13:13 +02:00
fallback.cpp Fix -Wundef warnings 2020-04-12 17:02:17 -07:00
fallback.h Fix -Wundef warnings 2020-04-12 17:02:17 -07:00
fd_monitor.cpp [cppcheck] add const in several places 2020-03-14 15:07:54 -07:00
fd_monitor.h Include sys/select.h for fd_set 2020-02-12 22:02:32 +01:00
fish.cpp remove unreachable break statements 2020-04-12 17:02:17 -07:00
fish_indent.cpp remove unreachable break statements 2020-04-12 17:02:17 -07:00
fish_key_reader.cpp Restyle 2020-04-21 21:11:26 +02:00
fish_test_helper.cpp Restyle 2020-04-21 21:11:26 +02:00
fish_tests.cpp Restyle 2020-04-21 21:11:26 +02: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 Migrate a bunch of code out of common.h 2020-01-15 13:16:43 -08:00
flog.h Restyle 2020-03-26 20:45:40 +01:00
function.cpp [clang-tidy] use auto when casting 2020-04-05 10:13:13 +02:00
function.h Properly print leading comments and indentation in functions 2020-01-03 14:40:28 -08:00
future_feature_flags.cpp Migrate a bunch of code out of common.h 2020-01-15 13:16:43 -08:00
future_feature_flags.h Run clang-format on all files 2019-10-13 15:50:48 -07:00
global_safety.h Run clang-format on all files 2019-10-13 15:50:48 -07:00
highlight.cpp highlight: normalize path when validating path for cd 2020-04-19 07:01:25 +02:00
highlight.h highlight: normalize path when validating path for cd 2020-04-19 07:01:25 +02:00
history.cpp [clang-tidy] use auto when casting 2020-04-05 10:13:13 +02:00
history.h Centralize some calls to principal_parser() 2020-02-08 12:33:47 -08:00
history_file.cpp [clang-tidy] change several member functions to const 2020-04-05 10:13:13 +02:00
history_file.h [clang-tidy] change several member functions to const 2020-04-05 10:13:13 +02:00
input.cpp Change vi-mode tilde to toggle character case 2020-04-18 14:59:37 +02:00
input.h [cppcheck] add const in several places 2020-03-14 15:07:54 -07:00
input_common.cpp [clang-tidy] performance 2020-04-05 10:13:13 +02:00
input_common.h Change vi-mode tilde to toggle character case 2020-04-18 14:59:37 +02:00
intern.cpp Remove a few less useful debug messages 2020-01-19 14:22:50 +01:00
intern.h restyle intern module to match project style 2016-05-01 20:28:46 -07:00
io.cpp builtin_eval to direct output to its iostreams 2020-04-26 11:05:50 -07:00
io.h Introduce out_is_piped and err_is_piped on io_streams_t 2020-04-28 09:59:55 -07:00
iothread.cpp [clang-tidy] use auto when casting 2020-04-05 10:13:13 +02:00
iothread.h Introduce debounce_t 2020-03-06 17:15:21 -08:00
kill.cpp [clang-tidy] Use C++ using instead of C typedef 2019-11-29 23:46:51 -08:00
kill.h fix typos 2019-10-23 19:38:44 +02:00
lru.h lru to use std::map, not std::unordered_map 2019-12-21 17:09:21 -08:00
maybe.h Reformat all files 2019-05-05 12:09:25 +02:00
null_terminated_array.cpp [clang-tidy] use auto when casting 2020-04-05 10:13:13 +02:00
null_terminated_array.h [clang-tidy] use auto when casting 2020-04-05 10:13:13 +02:00
operation_context.cpp Introduce operation_context_t 2020-01-16 15:21:28 -08:00
operation_context.h Thread pgroups into command substitutions 2020-04-26 11:05:50 -07:00
output.cpp Fix output with C locale 2020-03-11 20:37:00 +01:00
output.h [clang-tidy] Fix inconsistent declarations 2019-11-25 14:13:33 -08:00
pager.cpp remove unreachable break statements 2020-04-12 17:02:17 -07:00
pager.h Use completion_list_t naming everywhere 2020-01-16 15:18:49 -08:00
parse_constants.h Reject time with background jobs 2020-01-03 01:07:49 -06:00
parse_execution.cpp remove unreachable break statements 2020-04-12 17:02:17 -07:00
parse_execution.h Rationalize $status and errors 2020-01-25 17:28:41 -08:00
parse_grammar.h Make "time" a job prefix 2020-01-03 01:07:49 -06:00
parse_grammar_elements.inc Make "time" a job prefix 2020-01-03 01:07:49 -06:00
parse_productions.cpp remove unreachable break statements 2020-04-12 17:02:17 -07:00
parse_productions.h style cleanups 2017-05-01 22:05:35 -07:00
parse_tree.cpp [clang-tidy] use auto when casting 2020-04-05 10:13:13 +02:00
parse_tree.h move variable_assignment_equal_pos to tokenizer 2020-02-24 00:14:39 +01:00
parse_util.cpp remove unreachable break statements 2020-04-12 17:02:17 -07:00
parse_util.h [clang-tidy] Replace NULL with nullptr 2019-11-25 14:23:03 -08:00
parser.cpp Thread pgroups into command substitutions 2020-04-26 11:05:50 -07:00
parser.h Thread pgroups into command substitutions 2020-04-26 11:05:50 -07:00
parser_keywords.cpp clang-format C++ files 2019-12-29 14:25:42 -08:00
parser_keywords.h Make IWYU output in lint.cpp less messy 2016-06-23 17:26:08 -07:00
path.cpp Restyle 2020-03-26 20:45:40 +01:00
path.h Migrate a bunch of code out of common.h 2020-01-15 13:16:43 -08:00
postfork.cpp Restyle 2020-04-21 21:11:26 +02:00
postfork.h Restyle 2020-04-21 21:11:26 +02:00
print_help.cpp Run clang-format on all files 2019-10-13 15:50:48 -07:00
print_help.h restyle proc module to match project style 2016-05-02 22:07:58 -07:00
proc.cpp Restyle 2020-04-21 21:11:26 +02:00
proc.h Handle child receiving SIGCONT 2020-03-27 20:30:58 +01:00
reader.cpp Clear cancellation signals after handling a readline command 2020-04-29 13:38:15 -07:00
reader.h [cppcheck] add const in several places 2020-03-14 15:07:54 -07:00
redirection.cpp Collapse io_data switch statements 2019-12-29 15:51:22 -08:00
redirection.h dup2_list_t::resolve_chain to stop returning maybe 2019-12-29 14:49:05 -08:00
sanity.cpp [clang-tidy] numeric literals to uppercase 2020-04-05 10:13:13 +02:00
sanity.h Amend typos and grammar errors 2019-11-25 13:07:15 +01:00
screen.cpp Do not issue clr_eos if we think the cursor will end up on its own line 2020-04-29 14:22:54 -07:00
screen.h Do not emit newline when running commands if the cursor is on its own line 2020-04-28 11:51:46 -07:00
signal.cpp [clang-tidy] change several member functions to const 2020-04-05 10:13:13 +02:00
signal.h [clang-tidy] change several member functions to const 2020-04-05 10:13:13 +02:00
timer.cpp [clang-tidy] performance 2020-04-05 10:13:13 +02:00
timer.h Make "time" a job prefix 2020-01-03 01:07:49 -06:00
tinyexpr.cpp [clang-tidy] Use C++ using instead of typedef 2020-04-05 10:13:13 +02:00
tinyexpr.h math: Complain about unknown *function*, not *variable* 2020-02-07 17:43:22 +01:00
tnode.cpp Make "time" a job prefix 2020-01-03 01:07:49 -06:00
tnode.h check the value of nodeptr in tnode_t::source_range. 2020-04-04 14:47:58 -07:00
tokenizer.cpp Skip variable assignments in status current command 2020-02-24 00:16:12 +01:00
tokenizer.h Skip variable assignments in status current command 2020-02-24 00:16:12 +01:00
topic_monitor.cpp Fix -Wundef warnings 2020-04-12 17:02:17 -07:00
topic_monitor.h Amend typos and grammar errors 2019-11-25 13:07:15 +01:00
trace.cpp [cppcheck] add const in several places 2020-03-14 15:07:54 -07:00
trace.h Add support for fish_trace variable to trace execution 2019-11-02 14:40:57 -07:00
utf8.cpp remove unreachable break statements 2020-04-12 17:02:17 -07:00
utf8.h [clang-tidy] Fix inconsistent declarations 2019-11-25 14:13:33 -08:00
util.cpp [clang-tidy] numeric literals to uppercase 2020-04-05 10:13:13 +02:00
util.h Return glob ordering to pre-3.1 state 2020-02-14 19:06:19 +01:00
wcstringutil.cpp Migrate a bunch of code out of common.h 2020-01-15 13:16:43 -08:00
wcstringutil.h Migrate a bunch of code out of common.h 2020-01-15 13:16:43 -08:00
wgetopt.cpp [clang-tidy] change several member functions to const 2020-04-05 10:13:13 +02:00
wgetopt.h [clang-tidy] change several member functions to const 2020-04-05 10:13:13 +02:00
wildcard.cpp remove unreachable break statements 2020-04-12 17:02:17 -07:00
wildcard.h Correct the speeling of sentinel 2020-02-29 15:56:52 -08:00
wutil.cpp wutil: add SMB2 file type to fd_check_is_remote 2020-04-29 23:34:13 +08:00
wutil.h [clang-tidy] change several member functions to const 2020-04-05 10:13:13 +02:00