first adaptions for 2025
This commit is contained in:
@@ -32,7 +32,7 @@ $ julia
|
||||
(_) | (_) (_) |
|
||||
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
|
||||
| | | | | | |/ _` | |
|
||||
| | |_| | | | (_| | | Version 1.10.2 (2024-03-01)
|
||||
| | |_| | | | (_| | | Version 1.11.3 (2025-01-21)
|
||||
_/ |\__'_|_|_|\__'_| | Official https://julialang.org/ release
|
||||
|__/ |
|
||||
|
||||
|
||||
@@ -30,8 +30,9 @@ function mhelp(s,n,m)
|
||||
end;
|
||||
|
||||
function Tab(s)
|
||||
l = filter(x->startswith(x,s), REPL.doc_completions(s))
|
||||
println.(l[2:end])
|
||||
dc = map(x->x.name, REPL.doc_completions(s))
|
||||
l = filter(x->startswith(x,s), dc)
|
||||
println.(l)
|
||||
return # return nothing, since broadcast println produces empty vector
|
||||
end
|
||||
|
||||
@@ -311,10 +312,10 @@ v
|
||||
|
||||
```{julia}
|
||||
using REPL
|
||||
|
||||
function Tab(s)
|
||||
l = filter(x->startswith(x,s), REPL.doc_completions(s))
|
||||
println.(l[2:end])
|
||||
dc = map(x->x.name, REPL.doc_completions(s))
|
||||
l = filter(x->startswith(x,s), dc)
|
||||
println.(l)
|
||||
return # return nothing, since broadcast println produces empty vector
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user