Commit 17466c1
committed
Fix "return"->"enter" mapping in key names.
All backends previously normalized both the return key and the (numpad)
enter to "enter" (see e.g. the presence of two "enter" entries in the
old FigureCanvas{GTK3,Tk}.keyvald . When revamping the gtk and tk key
names lookup I accidentally normalized both to "return" instead, so fix
that.
Test with
```
gcf().canvas.mpl_connect("key_press_event", lambda e: print(e.key))
```1 parent a510e32 commit 17466c1
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2308 | 2308 | | |
2309 | 2309 | | |
2310 | 2310 | | |
2311 | | - | |
| 2311 | + | |
2312 | 2312 | | |
2313 | 2313 | | |
2314 | 2314 | | |
| |||
0 commit comments