prompt bug fix

This commit is contained in:
2026-10-13 14:35:00 +02:00
parent 9e96aaa411
commit afe1a1b610
5 changed files with 358 additions and 239 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ project and will not be addressed in Bash.
stops when the prompt reappears; in Windows Terminal, timer events appear tied to prompt
display rather than to the Enter keypress.
- **Cause:** Execution time is measured via a `DEBUG` trap and `PROMPT_COMMAND` using
`date +%s%N` deltas. WSL + Windows Terminal introduces scheduling jitter between Bash signal
`$EPOCHREALTIME` (or `date +%s%N` on bash < 5) deltas. WSL + Windows Terminal introduces scheduling jitter between Bash signal
events and the underlying Windows terminal layer that does not match wall-clock perception.
- **Impact:** Cosmetic / observability only — commands execute normally.
- **Status:** Not fixable in Bash; this is a limitation of the Windows Terminal / WSL