Files
ghostty/src
Jon Parise 00fe956b3b bash: always send "end of command" prompt sequence
I noticed that both wezterm[0] and the OSC 133 reference script[1] (upon
which wezterm and our bash integration appear to be based) always send
the "end of prompt" sequence in their precmd functions (except during
their first execution, when no previous command has been executed).

This is a subtle logical difference: `$_ghostty_executing=""` (first
run) versus `$_ghostty_executing="0"` (reentrancy check). I'm not sure
how much a difference it makes except in rare edge case scenarios, but I
think it makes sense to be consistent and always report the end of the
current command.

[0] https://github.com/wez/wezterm/blob/main/assets/shell-integration/wezterm.sh#L479
[1] https://gitlab.freedesktop.org/Per_Bothner/specifications/-/blob/master/proposals/prompts-data/shell-integration.bash
2024-07-18 10:31:41 -04:00
..
2024-03-26 16:14:25 -07:00
2024-06-22 20:15:59 -07:00
2024-06-24 15:16:24 -07:00
2024-05-17 17:13:43 -05:00
2023-06-30 12:15:31 -07:00
2024-06-23 09:44:54 -07:00
2023-09-23 22:46:16 -07:00
2024-02-09 20:05:11 +01:00
2024-02-04 20:42:42 -08:00
2024-03-22 11:15:26 -07:00
2024-06-24 15:16:24 -07:00
2024-03-26 16:14:25 -07:00
2022-08-18 11:42:32 -07:00
2024-03-22 11:15:26 -07:00
2024-07-15 10:30:00 -07:00