diff --git a/docs/changelog.rst b/docs/changelog.rst index 717e119d1..903065245 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -875,7 +875,7 @@ To update |kitty|, :doc:`follow the instructions `. - macOS: Add a :code:`titlebar-only` setting to :opt:`hide_window_decorations` to only hide the title bar (:pull:`2286`) -- Fix a segfault when using :option:`kitty --debug-config` with maps (:iss:`2270`) +- Fix a segfault when using ``--debug-config`` with maps (:iss:`2270`) - ``goto_tab`` now maps numbers larger than the last tab to the last tab (:iss:`2291`) @@ -1751,8 +1751,8 @@ To update |kitty|, :doc:`follow the instructions `. - Support "-T" as an alias for "--title" (:pull:`659`) -- Fix a regression in the previous release that broke using :option:`kitty - --debug-config` with custom key mappings (:iss:`695`) +- Fix a regression in the previous release that broke using + ``--debug-config`` with custom key mappings (:iss:`695`) 0.11.1 [2018-06-17] diff --git a/kitty/options/definition.py b/kitty/options/definition.py index 4fe1fbf13..ed76bc8db 100644 --- a/kitty/options/definition.py +++ b/kitty/options/definition.py @@ -3300,7 +3300,7 @@ screen, for example, for ZSH add the following to :file:`~/.zshrc`: .. code-block:: sh scroll-and-clear-screen() { - printf '\n%.0s' {1..$LINES} + printf '\\n%.0s' {1..$LINES} zle clear-screen } zle -N scroll-and-clear-screen