Skip to content
Browse files

Make input_box default to keypress=False for backwards compatibility

  • Loading branch information...
1 parent 1a556d8 commit 84b96d6f7d5714c92c3ea40254c944cac0d03837 @jasongrout jasongrout committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 interact_compatibility.py
View
2 interact_compatibility.py
@@ -240,7 +240,7 @@ def input_box(default=None, label=None, type=None, width=80, height=1, **kwargs)
return color_selector(default=default, label=label,
widget=widget, hide_box=hide_box)
if type is str or height>1:
- return InputBox(default=default, label=label, width=width, height=height)
+ return InputBox(default=default, label=label, width=width, height=height, keypress=False)
else:
return ExpressionBox(default=default, label=label, width=width, height=height,
adapter=(lambda x, globs: type(x)) if type is not None else None)

0 comments on commit 84b96d6

Please sign in to comment.
Something went wrong with that request. Please try again.