-
Notifications
You must be signed in to change notification settings - Fork 227
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
Port before_v0.60/fun
folder (issue #221)
#835
Merged
Merged
Commits on May 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 50ccafe - Browse repository at this point
Copy the full SHA 50ccafeView commit details -
`def "-" [x, y] { $x - $y }` is a valid syntax but apparently function call not working anymore. another functions work well. I wrap them in "" anyway
Configuration menu - View commit details
-
Copy full SHA for 781be89 - Browse repository at this point
Copy the full SHA 781be89View commit details -
Configuration menu - View commit details
-
Copy full SHA for b7fce32 - Browse repository at this point
Copy the full SHA b7fce32View commit details -
- rename all `-` in variable names to `_` - replace `nth` with `get` - replace `$true` and `$false` with `true`, `false` - add `else` to `if {} {}` - replace pipeline `for` with `each {|x|...}` - replace the table `[[width height data]; ...]` with record `{ width:..., height: ..., data:...}` because there is only one record. (old `nu` was making automatic dereference) - `str collect` with `str join` - `echo` with `print` - clear screen with `clear` - remove unnecessary `char nl` - remove `main` call at the end
Configuration menu - View commit details
-
Copy full SHA for f6f2ac0 - Browse repository at this point
Copy the full SHA f6f2ac0View commit details -
`before_v0.60/fun/nyancat.nu` -> `modules/fun/nyancat.nu`
Configuration menu - View commit details
-
Copy full SHA for 204a5a2 - Browse repository at this point
Copy the full SHA 204a5a2View commit details -
- fix frames content: strange `and` to '&' - replace removed `char` subcommands - make `frames` as a list - `for -n` and `nth $it.index` -> `for frame in $frames {}` - just `print` each frame - `ansi cls` to `clear`
Configuration menu - View commit details
-
Copy full SHA for ce11629 - Browse repository at this point
Copy the full SHA ce11629View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d61244 - Browse repository at this point
Copy the full SHA 2d61244View commit details -
- merge two variants: print each frame at a time - implement missing `atan2` - use std math `$math.PI` - remove `autoview` - fix renamed fields in `(term size)`
Configuration menu - View commit details
-
Copy full SHA for 2a35412 - Browse repository at this point
Copy the full SHA 2a35412View commit details -
Configuration menu - View commit details
-
Copy full SHA for f1781a4 - Browse repository at this point
Copy the full SHA f1781a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 726b5dd - Browse repository at this point
Copy the full SHA 726b5ddView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.