mirror of
https://github.com/Open-Argon/argon-v3.git
synced 2025-12-06 08:56:07 +00:00
change any key to enter
This commit is contained in:
@@ -60,7 +60,7 @@ func getPassword(args ...any) (string, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func pause() {
|
func pause() {
|
||||||
fmt.Print("Press any key to continue...")
|
fmt.Print("Press Enter to continue...")
|
||||||
term.ReadPassword(int(os.Stdin.Fd()))
|
term.ReadPassword(int(os.Stdin.Fd()))
|
||||||
fmt.Println()
|
fmt.Println()
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,8 +2,7 @@ let zero = 1e-1000
|
|||||||
let diff(f) = (x) = (f(x + zero) - f(x)) / zero
|
let diff(f) = (x) = (f(x + zero) - f(x)) / zero
|
||||||
|
|
||||||
|
|
||||||
let f(x) = do
|
let f(x) = x^10+x^9+x^8+x^7+x^6+x^5+x^4+x^3+x^2+x+1
|
||||||
return x^10+x^9+x^8+x^7+x^6+x^5+x^4+x^3+x^2+x+1
|
|
||||||
let x = 100
|
let x = 100
|
||||||
let d = 0
|
let d = 0
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user