File tree 2 files changed +1
-14
lines changed
2 files changed +1
-14
lines changed Original file line number Diff line number Diff line change 8
8
description = "Clear the terminal screen." ,
9
9
)
10
10
11
- parser .add_option ("-T" , metavar = "TERM" , help = "(unimplemented)" )
12
-
13
11
parser .add_option (
14
12
"-x" , action = "store_true" , help = "do not try to clear the scrollback buffer"
15
13
)
@@ -21,6 +19,7 @@ def python_userland_clear(opts, args):
21
19
return 1
22
20
23
21
print ("\x1b [2J\x1b [H" , end = "" )
22
+
24
23
if not opts .x :
25
24
print ("\x1b [3J" , end = "" )
26
25
Original file line number Diff line number Diff line change 11
11
description = "Initialize or reset the terminal state." ,
12
12
)
13
13
14
- parser .add_option ("-I" , action = "store_true" , help = "(unimplemented)" )
15
- parser .add_option ("-c" , action = "store_true" , help = "(unimplemented)" )
16
- parser .add_option ("-Q" , action = "store_true" , help = "(unimplemented)" )
17
-
18
14
parser .add_option (
19
15
"-q" ,
20
16
action = "store_true" ,
29
25
help = "print the sequence of shell commands to initialize the TERM environment variable" ,
30
26
)
31
27
32
- parser .add_option ("-w" , action = "store_true" , help = "(unimplemented)" )
33
-
34
- parser .add_option ("-e" , metavar = "CHAR" , help = "(unimplemented)" )
35
- parser .add_option ("-i" , metavar = "CHAR" , help = "(unimplemented)" )
36
- parser .add_option ("-k" , metavar = "CHAR" , help = "(unimplemented)" )
37
-
38
- parser .add_option ("-m" , metavar = "MAPPING" , help = "(unimplemented)" )
39
-
40
28
41
29
@core .command (parser )
42
30
def python_userland_reset (opts , args ):
You can’t perform that action at this time.
0 commit comments