Cursedspace

Latest version: v1.5.2

Safety actively analyzes 710445 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

1.3.0

Added
- Panel has a `BORDER_STYLE` that can be used to have a differently styled border
- Panel has a `content_area` function that indicates the dimensions of the area inside the border (if any)

Changed
- ScrollPanel clears the space below the last item and the bottom of the panel, even when `clear` is `False`

Fixed
- Terminals are no longer in a broken state when closing the application

1.2.2

Fixed
- Stray logging statement caused crash

1.2.1

Fixed
- Once more a fix for the scrolling behaviour when the available space for the list is smaller than the scroll margin

1.2.0

Added
- Basic autocompletion support for InputLine through the Completion class

Fixed
- `do_paint_item` of ScrollPanel would tell that the window is one cell to narrow (maxwidth-1). It does no longer, but that also means you have to `try ... catch curses.error` if you draw into the right-most cell.

1.1.0

Added
- `InputLine` has a `read_only` property
- Optional parameter to `ShellContext` to clear before entering
- `Application` has a `show_cursor` function and restores cursor state upon
exit
- `Application` has a `set_term_title` function
- `Application` clears the screen upon exit
- `ScrollPanel` has a convenience `jump_to` function
- `ShellContext` clears and restores cursor state

Fixed
- `InputLine` did not call `noutrefresh` during painting which could leave the
input line emtpy after painting
- `InputLine` returns cursor coordinates of `focus` call
- A potential crash when `scrollpanel.move` was called
- Use terminal default for the `DEFAULT` color pair
- Prevent painting of items outside the visible range of the `ScrollPanel`

1.0.0

Breaking Change
- `colors` component has been refactored and is incompatible with the previous API

Page 2 of 3

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.