A cross platform package to do curses-like operations, plus higher level APIs and widgets to create text UIs and ASCII art animations
APACHE-2.0 License
Bot releases are hidden (Show)
AnsiArtPlayer
and AsciinemaPlayer
fit
parameter to DropdownList
.AnsiTerminalParser
VBarChart
renderer.Frame
now supports scroll bars without borders, to have no border and no scroll bar you now need Frame(has_border=False, can_scroll=False)
TextBox.hide_cursor
and TextBox.auto_scroll
propertiesdiameter
parameter to ShootScreen
.DropEmitter
effect - will now typically take a little longer to clear the screen.clear_widgets()
- also reset any focus in the layout.Published by peterbrittain over 3 years ago
Published by peterbrittain almost 4 years ago
Added allow_int
parameter to Screen.play()
.
Added max_length
parameter to Text
.
Added support for page up/down in TextBox
.
Added optional scroll bars to MultiColumnListBox
.
Added file_filter
parameter to FileBrowser
.
Added wait_for_input
method to Screen
.
Added optional theme
parameter to PopupDialog
.
Added optional jitter
parameter to Noise
.
Added ManagedScreen
decorator.
Improved performance of double-buffering.
Added optional pattern
parameter to Stars
.
Improved handling of permission errors in FileBrowser
.
Added formal support for defining your own colour theme.
Added clear_widgets
to Layout
objects.
Fixed height of PopUpDialog when no buttons are specified.
Fixed bug where asciimatics Scenes would hang when the clock is moved back in time.
Fixed off-by-one error in BarChart labels.
Fixed bug where Labels ignored the custom_colour property.
Added default date and time to DatePicker and TimePicker when no value specified.
Published by peterbrittain about 6 years ago
PopupMenu
for dynamic contextual menus.DropdownList
widget.VerticalDivider
widget.line_wrap
option to TextBoxes.line_char
option to Dividers.align
option to Labels.width
property to widgets.set_theme
to Frames and provided some new colour schemes.Screen.wrapper()
to return result from wrapped function.Listbox.reset()
overrode current selected value.FileBrowser
for MacOSScreen.paint()
and SpeechBubble
.Published by peterbrittain almost 7 years ago
Added FileBrowser, DatePicker and TimePicker widgets.
screen
a mandatory positional parameter to all Effects in the process.Added fill_polygon()
to Screen and Canvas.
Added the Kaleidoscope and RotatedDuplicate renderers.
Created Maps demo - which renders vector tiles and satellite images from Mapbox.
Added optional is_modal
parameter to Frame constructor.
Added on_blur
and on_focus
parameters to all interactive Widgets.
Added colour
property to Cogs Effect.
Added title
property to Frame.
Added text
property to Label.
Added hide_char
parameter to Text constructor to hide any entered text - e.g. for passwords.
Added optional height
parameter to Label constructor.
Allowed programs to set "default" values for Widgets - which means you need to reset each field
in a Frame explicitly rather than relying on reset to blank out uninitialized fields.
Fixed up signal handling to re-instate old handlers on Screen.close().
Fixed missing on_select handler for ListBox.