moncho / dry

dry - A Docker manager for the terminal @
http://moncho.github.io/dry/
MIT License
2.96k stars 98 forks source link

fix(containermenu): not panic on invalid selected index #154

Closed moncho closed 2 years ago

moncho commented 2 years ago

It is still not clear how this can happen on the container menu widget. Unlike other widgets, e.g. the containers list, for which the number of rows might change during its lifetime, this widget, once created, will always have the same number of rows.

A new error type has been added.