Files
nyaterm/src
Kang 9e87feed2a refactor(terminal): improve command sanitization functions for better spacing handling (#167)
- Renamed and refactored the `sanitizeTerminalCommand` function to `stripTerminalCommandPrompt` for clarity.
- Enhanced the command sanitization process to preserve leading whitespace while removing known shell prompt prefixes.
- Updated references in `terminalInputTracker.ts` to utilize the new function, improving command normalization and candidate addition logic.
2026-06-25 11:16:53 +08:00
..