X Tutup
Skip to content

Commit 2c8ac57

Browse files
committed
make ctrl-l clear the screen
1 parent a646e29 commit 2c8ac57

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bpython/cli.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1279,6 +1279,7 @@ def p_key(self):
12791279
return ''
12801280

12811281
elif self.c in ('^L', chr(12)): # C-l
1282+
self.s_hist = [self.s_hist[-1]]
12821283
self.redraw()
12831284
return ''
12841285

0 commit comments

Comments
 (0)
X Tutup