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
Copy file name to clipboardExpand all lines: TODO.md
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,19 @@ _This todo list describes ChrisAnt996's current intended roadmap for Clink's fut
13
13
-~~Maybe the repro is to queue up typing before the prompt, so that when the prompt shows it starts a coroutine to generate matches (e.g. for suggestions) but then typing and `TAB` is processed while the matches coroutine is already running?~~
14
14
- I tried forcing several different race conditions, and none of them could reproduce the issue. It happens only very rarely, so until I can find more detailed context, I can't even tell if it's a recent regression or if it only occurs in a certain configuration. But my guess is it's either a recent regression, or an issue exposed/exacerbated by recent features.
15
15
- I just hit it again. I'll have to try to build optional logging to track it down.
16
+
- Does not seem to be related to coroutine generators superceding main routine generators (tried injecting os.sleep into coroutine generators to make them take longer, and was unable to repro).
17
+
-**What to log:**
18
+
- context that triggered running generators
19
+
- context that skips generating, and why
20
+
- context that cancels generating, and why
21
+
- context of timeout of generating (suggestionlist has some kind of timeout IIRC)
22
+
- context of reset generate matches
23
+
- begin generating
24
+
- coroutine or ismain
25
+
- volatile
26
+
- matches
27
+
- generation id
28
+
- finish generating
16
29
- Some way for `io.popen`, `io.popenyield`, `os.execute`, etc to run without a console window. `clink.execute` exists, but has quirks and doesn't support yielding. This is a problem for any match generators that want to run Powershell, because Powershell insists on changing the window title. Either they have to accept asynchronous window title changes, or they block until the Powershell command finishes. For example, the `pid_complete.lua` module is impacted by this.
17
30
- Some way for input hints to show up when the suggestion list is active?
18
31
- Make a documentation section that lists all the CLINK environment variables.
0 commit comments