We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
console_from_str()
1 parent 755cf41 commit 2f72861Copy full SHA for 2f72861
1 file changed
src/libtmux/common.py
@@ -15,7 +15,7 @@
15
import typing as t
16
17
from . import exc
18
-from ._compat import LooseVersion, str_from_console
+from ._compat import LooseVersion
19
20
if t.TYPE_CHECKING:
21
from collections.abc import Callable
@@ -226,7 +226,7 @@ def __init__(self, *args: t.Any) -> None:
226
227
cmd = [tmux_bin]
228
cmd += args # add the command arguments to cmd
229
- cmd = [str_from_console(c) for c in cmd]
+ cmd = [str(c) for c in cmd]
230
231
self.cmd = cmd
232
0 commit comments