aboutsummaryrefslogtreecommitdiffstats
path: root/browserenv_windows.go
diff options
context:
space:
mode:
authorTeddy Wing2020-12-20 15:30:20 +0100
committerTeddy Wing2020-12-20 15:30:20 +0100
commit704b91ca02f87fe0f6d3e059aa2aeb8e3e823c14 (patch)
treea5098c1789d5ee4b98c1a52cb7d830e325cae10e /browserenv_windows.go
parent9d7ad8967ba7af7e8e273655078f6c7690fd1824 (diff)
downloadbrowserenv-704b91ca02f87fe0f6d3e059aa2aeb8e3e823c14.tar.bz2
Rename `fmtBrowserCommand()` to `escapeBrowserCommand()`
Formatting the browser command will incorporate more steps, not just this one, so rename it to be more specific about what it's doing. I want to use the other name for a different function.
Diffstat (limited to 'browserenv_windows.go')
-rw-r--r--browserenv_windows.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/browserenv_windows.go b/browserenv_windows.go
index ef9c2b7..be90ba5 100644
--- a/browserenv_windows.go
+++ b/browserenv_windows.go
@@ -10,6 +10,6 @@ func shell() (args []string) {
}
// TODO
-func fmtBrowserCommand(browser, url string) string {
+func escapeBrowserCommand(browser, url string) string {
return fmt.Sprintf("%s %s", browser, url)
}