removed excess reference printing
This commit is contained in:
parent
92bf985a9a
commit
a433ad41b5
@ -145,10 +145,6 @@ fn render_page(host: String, port: String, path: String) -> Vec<String> {
|
||||
print!("—");
|
||||
}
|
||||
println!();
|
||||
for i in 0..links.len() {
|
||||
println!("{}: {}", i, links[i].blue().underline());
|
||||
}
|
||||
println!();
|
||||
return links;
|
||||
}
|
||||
|
||||
@ -219,7 +215,7 @@ fn main() {
|
||||
|
||||
println!("{}:{}/{}", host, port, path);
|
||||
|
||||
println!("Enter link number to follow, h for help, or q to quit");
|
||||
println!("Enter reference number to follow, h for help, or q to quit");
|
||||
let link_to_follow = input();
|
||||
if link_to_follow == "q" {
|
||||
break 'mainloop;
|
||||
|
Loading…
x
Reference in New Issue
Block a user