mirror of
https://github.com/kovidgoyal/kitty.git
synced 2024-11-11 09:52:13 +03:00
Cleanup previous PR
This commit is contained in:
parent
89e0abd41d
commit
8fcb6278d7
@ -93,8 +93,8 @@ Detailed list of changes
|
||||
|
||||
- Fix a regression in the previous release that broke strikethrough (:disc:`4632`)
|
||||
|
||||
- A new action :ac:`scroll_prompt_to_bottom` to moves the non-empty prompt lines
|
||||
to the bottom. (:pull:`4634`)
|
||||
- A new action :ac:`scroll_prompt_to_bottom` to move the current prompt
|
||||
to the bottom, filling in the window from the scrollback (:pull:`4634`)
|
||||
|
||||
0.24.2 [2022-02-03]
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
@ -3728,7 +3728,7 @@ scroll_prompt_to_bottom(Screen *self, PyObject *args UNUSED) {
|
||||
// not before prompt or cursor line
|
||||
while (y > limit_y) {
|
||||
Line *line = checked_range_line(self, y);
|
||||
if (line_length(line)) break;
|
||||
if (!line || line_length(line)) break;
|
||||
y--;
|
||||
}
|
||||
// don't scroll back beyond the history buffer range
|
||||
|
@ -1241,7 +1241,7 @@ class Window:
|
||||
if self.screen.is_main_linebuf():
|
||||
self.screen.scroll_to_prompt(num_of_prompts)
|
||||
|
||||
@ac('sc', 'Scroll prompt to the bottom of the screen')
|
||||
@ac('sc', 'Scroll prompt to the bottom of the screen, filling in extra lines form the scrollback buffer')
|
||||
def scroll_prompt_to_bottom(self) -> None:
|
||||
self.screen.scroll_prompt_to_bottom()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user