mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-14 14:03:58 +00:00
a32248277f
Today the reader exposes its internals directly, e.g. to the commandline builtin. This is of course not thread safe. For example in concurrent execution, running `commandline` twice in separate threads would cause a race and likely a crash. Fix this by factoring all the commandline state into a new type 'commandline_state_t'. Make it a singleton (there is only one command line after all) and protect it with a lock. No user visible change here. |
||
---|---|---|
.. | ||
bind.py | ||
bind_mode_events.py | ||
cancel_event.py | ||
commandline.py | ||
complete.py | ||
disable_mouse.py | ||
exit.py | ||
exit_handlers.py | ||
exit_nohang.py | ||
fg.py | ||
fkr.py | ||
generic.py | ||
histfile.py | ||
history.py | ||
isatty.py | ||
job_summary.py | ||
pipeline.py | ||
postexec.py | ||
private_mode.py | ||
read.py | ||
set_color.py | ||
sigint.py | ||
signals.py | ||
terminal.py | ||
tty_ownership.py | ||
undo.py | ||
wait.py |