-
Notifications
You must be signed in to change notification settings - Fork 301
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: pass missing config to setTimeout in getSpareTab #1627
fix: pass missing config to setTimeout in getSpareTab #1627
Conversation
- Fixed an issue where `fullConfig` was not passed to `setTimeout` in `getSpareTab`. - Wrapped `ensureHotSpareTab` with an arrow function to ensure `fullConfig` is properly passed.
WalkthroughThe pull request introduces a modification to the Tip CodeRabbit's docstrings feature is now available as part of our Early Access Program! Simply use the command 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🔇 Additional comments (1)emain/emain-tabview.ts (1)
Wrapping 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
What settings specifically were not getting applied, the default background? This looks like the only one that's actually supplied by fullConfig |
Yes, when I create a new tabview, the fullConfig in the constructor of tabview is undefined and the background color will have problems, I have also tried to solve #1613. The zoom part of this issue may also report errors due to this. |
Looks reasonable to me, will merge. Thank you very much for your contribution! |
fullConfig
was not passed tosetTimeout
ingetSpareTab
.ensureHotSpareTab
with an arrow function to ensurefullConfig
is properly passed.When I use wave as my terminal, sometimes the setting does not work. I read the source code and found this issue