File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44(define build-deps '("scribble-lib " "racket-doc " "net-doc " ))
55(define scribblings '(("scribblings/advent-of-code.scrbl " ())))
66(define pkg-desc "Package for fetching Advent of Code input. " )
7- (define version "1.0.1 " )
7+ (define version "1.0.2 " )
88(define pkg-authors '(eutro))
99(define raco-commands
1010 '(("aoc " (submod advent-of-code main) "Fetch Advent of Code puzzle input " #f )))
Original file line number Diff line number Diff line change 2727 (if (eq? default 'y ) "Y " "y " )
2828 (if (eq? default 'n ) "N " "n " ))
2929 (flush-output)
30- (define line (read-line))
30+ (define line (read-line (current-input-port) 'any ))
3131 (if (eof-object? line)
3232 #f
3333 (case (string-downcase line)
5050 (displayln "- Firefox: \"Storage\" tab (Shift + F9) " )
5151 (displayln "- Chrome: \"Application\" tab " )
5252 (displayln "Enter the contents of your session cookie below: " )
53- (define session (read-line))
53+ (define session (read-line (current-input-port) 'any ))
5454 (when (eof-object? session)
5555 (exit 1 ))
5656 (with-output-to-file session-file
You can’t perform that action at this time.
0 commit comments