Skip to content

Commit

Permalink
Fix deprecation warnings due to invalid escape sequences.
Browse files Browse the repository at this point in the history
  • Loading branch information
tirkarthi committed Aug 17, 2020
1 parent 16d51b3 commit dbd5232
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libtmux/common.py
Expand Up @@ -233,7 +233,7 @@ def __init__(self, *args, **kwargs):

class TmuxMappingObject(MutableMapping):

"""Base: :py:class:`MutableMapping`.
r"""Base: :py:class:`MutableMapping`.
Convenience container. Base class for :class:`Pane`, :class:`Window`,
:class:`Session` and :class:`Server`.
Expand Down
2 changes: 1 addition & 1 deletion libtmux/pane.py
Expand Up @@ -153,7 +153,7 @@ def clear(self):
def reset(self):
"""Reset and clear pane history. """

self.cmd('send-keys', '-R \; clear-history')
self.cmd('send-keys', r'-R \; clear-history')

def split_window(self, attach=False, vertical=True, start_directory=None):
"""
Expand Down

0 comments on commit dbd5232

Please sign in to comment.