Cleanup previous PR

This commit is contained in:
Kovid Goyal
2026-03-31 22:49:54 +05:30
parent 973c5fb650
commit ea7a82c0c6
2 changed files with 10 additions and 14 deletions

View File

@@ -170,8 +170,6 @@ Detailed list of changes
- A new option :opt:`palette_generate` to automatically generate the 256 color palette from the first 16 colors (:pull:`9426`)
- Add a :opt:`progress_bar` option to draw a visual progress bar when a program reports progress using the OSC 9;4 escape sequence. The bar can be positioned on any edge of the window (left, right, top, bottom) and reuses the scrollbar's track and handle colors and opacity settings. In the indeterminate state, a handle animates back and forth (:iss:`9777`)
- For builtin key mappings automatically :ref:`fallback <mapping-fallback>` to matching the US-PC layout key when the pressed key has no matches and is a non-English character (:pull:`9671`)
- Allow drag and drop of windows to re-arrange them, move them to another
@@ -181,6 +179,8 @@ Detailed list of changes
- Have :ac:`scroll_line_up` and :ac:`scroll_line_down` smooth scroll by default. Can be restored to old behavior by re-mapping without the ``smooth`` argument (:iss:`9689`)
- Draw a progress bar at the top of the window when a program reports progress using the OSC 9;4 escape sequence, controlled by :opt:`progress_bar` (:iss:`9777`)
- :doc:`Remote control <remote-control>`: Expose :code:`session_name` in the output of ``kitten @ ls`` for each window (:iss:`9732`)
- Fix thickness of diagonal lines in box drawing characters not the same as horizontal/vertical lines (:iss:`9719`)

View File

@@ -519,25 +519,21 @@ use the current selection background color. Also, you can use an
arbitrary color, such as :code:`#12af59` or :code:`red`.
''')
opt('progress_bar', 'top', ctype='progress_bar', choices=(
'left', 'right', 'top', 'bottom', 'hidden'), long_text='''\
opt('progress_bar', 'top', ctype='progress_bar', choices=('left', 'right', 'top', 'bottom', 'hidden'), long_text='''\
When a program uses the OSC 9;4 escape sequence to report progress, draw a progress bar
in the specified position of the window. The bar uses the same track and handle colors and opacity settings
as the scrollbar (:opt:`scrollbar_track_color`, :opt:`scrollbar_handle_color`,
:opt:`scrollbar_track_hover_opacity`, :opt:`scrollbar_handle_opacity`,
:opt:`scrollbar_width`, :opt:`scrollbar_gap`, :opt:`scrollbar_radius`).
When the progress bar and scrollbar overlap, the progress bar is drawn underneath the scrollbar.
in the specified position of the window. The bar uses the same style and color settings
as the scrollbar .
:code:`left`
means a vertical progress bar on the left edge.
a vertical progress bar on the left edge
:code:`right`
means a vertical progress bar on the right edge.
a vertical progress bar on the right edge
:code:`top`
means a horizontal progress bar on the top edge.
a horizontal progress bar on the top edge
:code:`bottom`
means a horizontal progress bar on the bottom edge.
a horizontal progress bar on the bottom edge
:code:`hidden`
means disable the progress bar.
dont show the progress bar
''')
opt('scrollback_pager', 'less --chop-long-lines --RAW-CONTROL-CHARS +INPUT_LINE_NUMBER',