File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -161,6 +161,7 @@ async def _monitor_stdin[ContextT: CliContext](
161161 elif (keyfunc := key_to_cmd .get (key )) is not None and callable (
162162 keyfunc .func
163163 ):
164+ # TODO: enable async functions
164165 if (ret := keyfunc .func (clictx )) is not None :
165166 puts (ret )
166167
@@ -188,6 +189,7 @@ async def monitor_stdin_for_debug_commands[ContextT: CliContext](
188189
189190 map = {
190191 0xA : KeyAndFunc (r"\n" , echo_newline ),
192+ 0xD : KeyAndFunc (r"\n" , echo_newline ),
191193 0x1B : KeyAndFunc ("<Esc>" , terminal_block ),
192194 0x4 : KeyAndFunc ("^D" , debug_info ),
193195 0x2B : KeyAndFunc ("+" , increase_loglevel ),
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ write_to = "_version.py"
77
88[project ]
99name = " click-async-plugins"
10- version = " 0.7.0 "
10+ version = " 0.7.1 "
1111authors = [
1212 {
name =
" martin f. krafft" ,
email =
" [email protected] " },
1313]
You can’t perform that action at this time.
0 commit comments