fish-shell/src
Johannes Altmanninger 1da2087038 Also refresh TTY timestamps before "commandline -f repaint"
As mentioned in 8a7c3ceec (Don't abandon line after writing control sequences,
2024-04-06) we need to freshed stdout timestamps after writing to stdout
but before we might redraw, in particular when writing control sequences.

Commit a583fe723 ("commandline -f foo" to skip queue and execute immediately,
2024-04-08) made "commandline -f repaint" redraw immediately, while still
executing the bound shell command; at that time we have written "disabling"
sequences but not refreshed timestamps yet, so do that.

This is probably not needed for commands outside the repaint family.
Needless to say that this is messy, maybe we can simplify things in future.

Ref https://github.com/fish-shell/fish-shell/issues/10409#issuecomment-2044863817
2024-04-09 21:53:48 +02:00
..
bin fish_key_reader: minimize logic following recent changes 2024-04-08 09:16:22 +02:00
builtins "commandline -f foo" to skip queue and execute immediately 2024-04-09 00:22:41 +02:00
env environment.rs: minor cleanup 2024-03-23 10:38:28 +01:00
fork_exec Remove using statements already imported by preludes 2024-02-28 09:41:51 -06:00
history Use File instead of OwnedFd in a few places (#10355) 2024-03-17 11:20:44 -05:00
tests Display raw escape sequences the old way again 2024-04-09 00:07:27 +02:00
universal_notifier Move from libc read/write to nix read/write 2024-01-21 11:49:40 -08:00
widecharwidth Move fish-rust to project root 2024-01-13 03:58:33 +01:00
wutil Do not insert key's PUA encoding into the command line 2024-04-09 00:46:16 +02:00
abbrs.rs Make test_init() return a scope guard 2024-03-24 16:33:35 +01:00
ast.rs Make test_init() return a scope guard 2024-03-24 16:33:35 +01:00
autoload.rs Make test_init() return a scope guard 2024-03-24 16:33:35 +01:00
color.rs Fix some clippy warnings 2024-01-21 19:12:33 -08:00
common.rs Add native read_retry() and write_retry() methods 2024-03-22 23:05:56 -05:00
complete.rs History pager to only operate on the line at cursor 2024-03-23 09:54:18 +01:00
curses.rs curses: Remove f13-f20 2024-04-02 21:33:54 +02:00
editable_line.rs On redo, restore pre-undo cursor position 2024-04-03 13:09:27 +02:00
env_dispatch.rs Set terminal title unconditionally 2024-04-02 14:35:16 +02:00
env_universal_common.rs Change wopen_cloexec() to return File 2024-03-23 01:34:23 -05:00
event.rs Remove L! from sprintf calls 2024-01-13 08:52:54 +01:00
exec.rs Disable terminal protocols throughout evaluation 2024-04-02 21:25:47 +02:00
expand.rs Add feature flag to turn off %self (#10262) 2024-02-06 22:13:16 +01:00
fallback.rs Use File instead of OwnedFd in a few places (#10355) 2024-03-17 11:20:44 -05:00
fd_monitor.rs Remove using statements already imported by preludes 2024-02-28 09:41:51 -06:00
fd_readable_set.rs Move fish-rust to project root 2024-01-13 03:58:33 +01:00
fds.rs Make test_init() return a scope guard 2024-03-24 16:33:35 +01:00
fish_test_helper.cpp test_helper: Give self-signalling a chance to trigger 2024-03-19 16:41:25 +01:00
flog.rs Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
function.rs Remove using statements already imported by preludes 2024-02-28 09:41:51 -06:00
future_feature_flags.rs Address clippy lints 2024-03-09 13:49:25 +01:00
future.rs Move fish-rust to project root 2024-01-13 03:58:33 +01:00
global_safety.rs Simplify shared-from-this pattern 2024-03-09 10:09:03 +01:00
highlight.rs Address clippy lints 2024-03-09 13:49:25 +01:00
history.rs Change wopen_cloexec() to return File 2024-03-23 01:34:23 -05:00
input_common.rs Don't abandon line after writing control sequences 2024-04-06 17:45:55 +02:00
input.rs Display raw escape sequences the old way again 2024-04-09 00:07:27 +02:00
io.rs Change wopen_cloexec() to return File 2024-03-23 01:34:23 -05:00
job_group.rs Move fish-rust to project root 2024-01-13 03:58:33 +01:00
key.rs Do not insert key's PUA encoding into the command line 2024-04-09 00:46:16 +02:00
kill.rs Remove L! from sprintf calls 2024-01-13 08:52:54 +01:00
lib.rs Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
libc.c Switch to the terminfo crate 2024-02-22 20:10:16 +01:00
libc.rs Remove uses of LC_GLOBAL_LOCALE 2024-02-01 22:15:24 +01:00
locale.rs Remove uses of LC_GLOBAL_LOCALE 2024-02-01 22:15:24 +01:00
nix.rs Move fish-rust to project root 2024-01-13 03:58:33 +01:00
null_terminated_array.rs Move fish-rust to project root 2024-01-13 03:58:33 +01:00
operation_context.rs Move fish-rust to project root 2024-01-13 03:58:33 +01:00
output.rs Emit OSC 133 sequences to mark prompt/command output regions 2024-04-06 22:22:56 +02:00
pager.rs History pager to only operate on the line at cursor 2024-03-23 09:54:18 +01:00
panic.rs Print panic message to stderr, like the stack trace 2024-04-02 07:34:19 +02:00
parse_constants.rs Remove L! from sprintf calls 2024-01-13 08:52:54 +01:00
parse_execution.rs Forbid subcommand keywords in variables-as-commands (#10249) 2024-02-06 22:12:55 +01:00
parse_tree.rs Move fish-rust to project root 2024-01-13 03:58:33 +01:00
parse_util.rs Fix regression in parse_util_process_extent 2024-03-24 16:34:36 +01:00
parser_keywords.rs Remove widestring-suffix uses 2024-01-13 08:52:54 +01:00
parser.rs Clean up log statement 2024-04-06 11:22:19 +02:00
path.rs Fix build on NetBSD (#10270) 2024-01-28 21:45:14 +01:00
pointer.rs Move fish-rust to project root 2024-01-13 03:58:33 +01:00
print_help.rs Move fish-rust to project root 2024-01-13 03:58:33 +01:00
proc.rs Disable terminal protocols throughout evaluation 2024-04-02 21:25:47 +02:00
re.rs Move fish-rust to project root 2024-01-13 03:58:33 +01:00
reader_history_search.rs Move fish-rust to project root 2024-01-13 03:58:33 +01:00
reader.rs Also refresh TTY timestamps before "commandline -f repaint" 2024-04-09 21:53:48 +02:00
redirection.rs Use nix OFlag for open_cloexec 2024-01-27 20:42:13 +01:00
screen.rs Add special_key=1 to prompt marking 2024-04-07 09:59:09 +02:00
signal.rs Pop CSI u mode on SIGTERM 2024-04-07 13:32:48 +02:00
termsize.rs Move termsize test into separate file 2024-03-24 12:18:20 +01:00
threads.rs Address clippy lints 2024-03-09 13:49:25 +01:00
timer.rs Move fish-rust to project root 2024-01-13 03:58:33 +01:00
tinyexpr.rs Remove widestring-suffix uses 2024-01-13 08:52:54 +01:00
tokenizer.rs Add # as a path component char 2024-01-28 10:41:15 +01:00
topic_monitor.rs Use OwnedFd in AutoClosePipes 2024-02-11 11:40:27 -08:00
trace.rs Move fish-rust to project root 2024-01-13 03:58:33 +01:00
util.rs Move fish-rust to project root 2024-01-13 03:58:33 +01:00
wait_handle.rs Move fish-rust to project root 2024-01-13 03:58:33 +01:00
wchar_ext.rs Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
wchar.rs Remove widestring-suffix uses 2024-01-13 08:52:54 +01:00
wcstringutil.rs remove repetitive words (#10348) 2024-03-07 18:35:41 -06:00
wgetopt.rs Move fish-rust to project root 2024-01-13 03:58:33 +01:00
wildcard.rs remove repetitive words (#10348) 2024-03-07 18:35:41 -06:00