mirror of
https://github.com/xvxx/phetch
synced 2024-11-10 13:10:54 +00:00
bookmarks append to the file
This commit is contained in:
parent
f8ef98b032
commit
19c962da2f
@ -39,7 +39,7 @@ pub fn as_raw_menu() -> String {
|
|||||||
|
|
||||||
// save a single bookmark entry
|
// save a single bookmark entry
|
||||||
pub fn save(label: &str, url: &str) -> Result<()> {
|
pub fn save(label: &str, url: &str) -> Result<()> {
|
||||||
config::prepend(
|
config::append(
|
||||||
BOOKMARKS_FILE,
|
BOOKMARKS_FILE,
|
||||||
label
|
label
|
||||||
.trim_start_matches("gopher://")
|
.trim_start_matches("gopher://")
|
||||||
|
Loading…
Reference in New Issue
Block a user