File tree Expand file tree Collapse file tree 4 files changed +8
-3
lines changed
Expand file tree Collapse file tree 4 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 11"""Terminal-formatted strings"""
2+
23__version__ = "0.4.2"
34
45from .window import FullscreenWindow , CursorAwareWindow
Original file line number Diff line number Diff line change 11"""All the key sequences"""
2+
23# If you add a binding, add something about your setup
34# if you can figure out why it's different
45
Original file line number Diff line number Diff line change 11"""Events for keystrokes and other input events"""
2+
23import codecs
34import itertools
45import sys
Original file line number Diff line number Diff line change @@ -93,9 +93,11 @@ def stable_format_dict(d: Mapping) -> str:
9393 Does not work for dicts with unicode strings as values."""
9494 inner = ", " .join (
9595 "{}: {}" .format (
96- repr (k )[1 :]
97- if repr (k ).startswith ("u'" ) or repr (k ).startswith ('u"' )
98- else repr (k ),
96+ (
97+ repr (k )[1 :]
98+ if repr (k ).startswith ("u'" ) or repr (k ).startswith ('u"' )
99+ else repr (k )
100+ ),
99101 v ,
100102 )
101103 for k , v in sorted (d .items ())
You can’t perform that action at this time.
0 commit comments