mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 14:43:55 +08:00
Fix the build (oops)
This commit is contained in:
parent
f7082ee034
commit
e4329f3ae7
2
kill.cpp
2
kill.cpp
|
@ -103,7 +103,7 @@ void kill_add(const wcstring &str)
|
||||||
const env_var_t disp_wstr = env_get_string(L"DISPLAY");
|
const env_var_t disp_wstr = env_get_string(L"DISPLAY");
|
||||||
if (!disp_wstr.missing())
|
if (!disp_wstr.missing())
|
||||||
{
|
{
|
||||||
escaped_str = escape_string(str, ESCAPE_ALL);
|
escaped_str = escape(str.c_str(), ESCAPE_ALL);
|
||||||
cmd.assign(L"echo -n ");
|
cmd.assign(L"echo -n ");
|
||||||
cmd.append(escaped_str);
|
cmd.append(escaped_str);
|
||||||
cmd.append(L" | xsel -i -b");
|
cmd.append(L" | xsel -i -b");
|
||||||
|
|
Loading…
Reference in New Issue
Block a user