You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ensure TerminalProcess respects user line limit setting
6
+
7
+
This commit fixes the terminal output line limiting functionality in TerminalProcess.ts:
8
+
9
+
1. Fixed the implementation to properly access the user's configured terminal output line limit through the sidebarProvider state
10
+
2. Added graceful fallback to default limit (1000 lines) when user settings are unavailable
11
+
3. Added detailed debug logging to help diagnose state access issues
12
+
4. Modified tests to focus on validating line limiting behavior
13
+
5. Added comprehensive documentation to explain how line limit settings are accessed and applied
14
+
15
+
The fix ensures the terminal output window properly respects user settings for line limits, preventing excessive memory usage while maintaining the exact number of lines configured by the user.
0 commit comments