Skip to content
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

Cannot run or submit a second time after closing popup window #24

Closed
lourw opened this issue Nov 16, 2023 · 2 comments
Closed

Cannot run or submit a second time after closing popup window #24

lourw opened this issue Nov 16, 2023 · 2 comments

Comments

@lourw
Copy link

lourw commented Nov 16, 2023

To recreate:

  1. Open a new question (27. Remove Element)
  2. Submit your code (this opens the run/submit popup) using :Leet run or :Leet submit
Screenshot 2023-11-15 at 11 56 42 PM
  1. Close the run/submit popup window with :q
  2. Try to enter :Leet run or :Leet submit again.
  3. You get this message:
Screenshot 2023-11-15 at 11 58 19 PM
@lourw lourw changed the title Cannot run run or submit a second time after closing window Cannot run or submit a second time after closing popup window Nov 16, 2023
@kawre
Copy link
Owner

kawre commented Nov 16, 2023

You are not supposed to close this popup with :q as it needs to be persistent.

All of the popups inside leetcode.nvim have two shortcuts q and Esc for hiding them so the next time they get opened the previous state will stay.

@kawre kawre pinned this issue Nov 16, 2023
@kawre kawre mentioned this issue Nov 23, 2023
@kawre
Copy link
Owner

kawre commented Nov 23, 2023

Now, if you :q a popup, the state will still get erased. However, the next time you try to open it, it should mount again without any errors.

@kawre kawre closed this as completed Nov 23, 2023
@kawre kawre unpinned this issue Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants