Repository navigation
Reimplement prevd-or-backward-word and nextd-or-forward-word in C++ - #8538
Conversation
|
As suggested by @faho in #6695. I considered adding an |
|
The failing test is line 21 of Edit: a test failed on an earlier CI/CD run. It looks from reading the test like it could be racy -- we are asking for autocompletions and reading the prompt to see if the prompt is correct. |
|
Hmm yeah the tmux tests can fail in resource-constrained environments (since they rely on sleeps). |
|
Again, the failing test seems racy/perfy and unrelated -- also passes on my machine: (Edit: I just did a quick manual test and as far as I can tell, the switch blocks with the logic for |
…d readline functions
…e as fish functions
|
LGTM, I only fixed the formatting, see below. BTW fish also knows special input functions "and" and "or" so in theory this could be not sure about the term, function seems indeed suboptimal, because they are more like builtins. |
|
Oops, sorry about the indent and thanks for fixing it. |
|
We should re-add the delete-or-exit function (and keep it around for a while) because it is the default for control-d. That means upgrading to 3.4.0 would trigger errors if you tried closing 3.3.1 fishes with ctrl+d. cc @zanchey I think we might also want to add a notice that fish should be restarted after an upgrade? |
|
There is a C++ special input function |
|
I just tried it and on my 3.3.1, Line 396 in a7b4fc3 |
Aaaah, okay. Looks like this was added in 3.1 already - d415350. That should be okay, then. |
Description
Reimplement
prevd-or-backward-wordandnextd-or-forward-wordin C++.(Working on #6695.)
TODOs: