We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c73c32e commit 0f73a44Copy full SHA for 0f73a44
bpython/cli.py
@@ -1220,7 +1220,7 @@ def clrtobol(self):
1220
if not self.cpos:
1221
self.s = ''
1222
else:
1223
- self.s = self.s[self.cpos:]
+ self.s = self.s[-self.cpos:]
1224
1225
self.print_line(self.s, clr=True)
1226
self.scr.redrawwin()
@@ -1296,6 +1296,7 @@ def p_key(self):
1296
1297
elif self.c in ('^L', chr(12)): # C-l
1298
self.s_hist = [self.s_hist[-1]]
1299
+ self.highlighted_paren = None
1300
self.redraw()
1301
return ''
1302
0 commit comments