some stuff
This commit is contained in:
parent
f46d3bac42
commit
7b9d2d6fd3
11
src/main.rs
11
src/main.rs
@ -302,11 +302,16 @@ fn main() {
|
||||
} else {
|
||||
println!("Invalid reference id");
|
||||
}
|
||||
}/*
|
||||
else if let Ok(parsed_value) = parse_url(user_input, &url.hostname) {
|
||||
}
|
||||
else if let Ok(parsed_value) = parse_url(user_input, &url.clone()) {
|
||||
url = parsed_value;
|
||||
for _i in historical_position+1..history.len() {
|
||||
history.remove(historical_position+1);
|
||||
}
|
||||
history.push(url.clone());
|
||||
historical_position += 1;
|
||||
load_page = true;
|
||||
}*/
|
||||
}
|
||||
else {
|
||||
println!("Invalid input");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user