We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3dcaba commit 0ccb091Copy full SHA for 0ccb091
py/ec_core.py
@@ -409,7 +409,11 @@ def k_input(self, command):
409
# get the variable
410
if self.nextIsSymbol():
411
command['target'] = self.getToken()
412
- command['prompt'] = ': '
+ value = {}
413
+ value['type'] = 'text'
414
+ value['numeric'] = 'false'
415
+ value['content'] = ': '
416
+ command['prompt'] = value
417
if self.peek() == 'with':
418
self.nextToken()
419
command['prompt'] = self.nextValue()
@@ -646,7 +650,8 @@ def r_read(self, command):
646
650
647
651
def k_replace(self, command):
648
652
original = self.nextValue()
649
- if self.nextIs('with'):
653
+ if self.peek() == 'with':
654
+ self.nextToken()
655
replacement = self.nextValue()
656
if self.nextIs('in'):
657
0 commit comments