File size: 3,330 Bytes
d1ceb73
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
  "jupyter.lab.setting-icon": "ui-components:terminal",
  "jupyter.lab.setting-icon-label": "Terminal",
  "jupyter.lab.menus": {
    "context": [
      {
        "command": "terminal:copy",
        "selector": ".jp-Terminal",
        "rank": 1
      },
      {
        "command": "terminal:paste",
        "selector": ".jp-Terminal",
        "rank": 2
      },
      {
        "command": "terminal:refresh",
        "selector": ".jp-Terminal",
        "rank": 3
      }
    ]
  },
  "title": "Terminal",
  "description": "Terminal settings.",
  "definitions": {
    "fontFamily": {
      "type": "string"
    },
    "fontSize": {
      "type": "integer",
      "minimum": 9,
      "maximum": 72
    },
    "lineHeight": {
      "type": "number",
      "minimum": 1.0
    },
    "theme": {
      "enum": ["dark", "light", "inherit"]
    },
    "scrollback": {
      "type": "number"
    },
    "pasteWithCtrlV": {
      "type": "boolean"
    },
    "macOptionIsMeta": {
      "type": "boolean"
    }
  },
  "properties": {
    "fontFamily": {
      "title": "Font family",
      "description": "The font family used to render text.",
      "$ref": "#/definitions/fontFamily",
      "default": "monospace"
    },
    "fontSize": {
      "title": "Font size",
      "description": "The font size used to render text.",
      "$ref": "#/definitions/fontSize",
      "default": 13
    },
    "lineHeight": {
      "title": "Line height",
      "description": "The line height used to render text.",
      "$ref": "#/definitions/lineHeight",
      "default": 1.0
    },
    "theme": {
      "title": "Theme",
      "description": "The theme for the terminal.",
      "$ref": "#/definitions/theme",
      "default": "inherit"
    },
    "screenReaderMode": {
      "title": "Screen Reader Mode",
      "description": "Add accessibility elements for use with screen readers.",
      "type": "boolean",
      "default": false
    },
    "scrollback": {
      "title": "Scrollback Buffer",
      "description": "The amount of scrollback beyond initial viewport",
      "$ref": "#/definitions/lineHeight",
      "default": 1000
    },
    "shutdownOnClose": {
      "title": "Shut down on close",
      "description": "Shut down the session when closing the terminal.",
      "type": "boolean",
      "default": false
    },
    "closeOnExit": {
      "title": "Close on exit",
      "description": "Close the widget when exiting the terminal.",
      "type": "boolean",
      "default": true
    },
    "pasteWithCtrlV": {
      "title": "Paste with Ctrl+V",
      "description": "Enable pasting with Ctrl+V.  This can be disabled to use Ctrl+V in the vi editor, for instance.  This setting has no effect on macOS, where Cmd+V is available",
      "type": "boolean",
      "default": true
    },
    "macOptionIsMeta": {
      "title": "Treat option as meta key on macOS",
      "description": "Option key on macOS can be used as meta key. This enables to use shortcuts such as option + f to move cursor forward one word",
      "type": "boolean",
      "default": false
    },
    "cursorBlink": {
      "title": "Blinking cursor",
      "description": "Whether to blink the cursor. Changes require reopening the terminal.",
      "type": "boolean",
      "default": true
    }
  },
  "additionalProperties": false,
  "type": "object"
}