# -*- coding: utf-8 -*-
#
# Copyright © Spyder Project Contributors
# Licensed under the terms of the MIT License
# (see spyder/__init__.py for details)

"""Spyder terminal default configuration."""

import os

WINDOWS = os.name == 'nt'

CONF_SECTION = 'terminal'

CONF_DEFAULTS = [
    (CONF_SECTION,
     {
      'sound': True,
      'cursor_type': 0,
      'shell': 'cmd' if WINDOWS else 'bash'
     }
     ),
    ('shortcuts',
     {
      'terminal/copy': 'Ctrl+Shift+C',
      'terminal/paste': 'Ctrl+Shift+P',
      'terminal/new_term': 'Ctrl+Alt+Shift+T',
     }
     ),
]

# IMPORTANT NOTES:
# 1. If you want to *change* the default value of a current option, you need to
#    do a MINOR update in config version, e.g. from 1.0.0 to 1.1.0
# 2. If you want to *remove* options that are no longer needed in our codebase,
#    or if you want to *rename* options, then you need to do a MAJOR update in
#    version, e.g. from 1.0.0 to 2.0.0
# 3. You don't need to touch this value if you're just adding a new option
CONF_VERSION = '1.0.0'

# -*- coding: utf-8 -*-
#
# Copyright © Spyder Project Contributors
# Licensed under the terms of the MIT License
# (see spyder/__init__.py for details)

"""Spyder terminal default configuration."""

import os

WINDOWS = os.name == 'nt'

CONF_SECTION = 'terminal'

CONF_DEFAULTS = [
    (CONF_SECTION,
     {
      'sound': True,
      'cursor_type': 0,
      'shell': 'cmd' if WINDOWS else 'bash'
     }
     ),
    ('shortcuts',
     {
      'terminal/copy': 'Ctrl+Alt+Shift+C',
      'terminal/paste': 'Ctrl+Alt+Shift+P',
      'terminal/new_term': 'Ctrl+Alt+Shift+T',
     }
     ),
]

# IMPORTANT NOTES:
# 1. If you want to *change* the default value of a current option, you need to
#    do a MINOR update in config version, e.g. from 1.0.0 to 1.1.0
# 2. If you want to *remove* options that are no longer needed in our codebase,
#    or if you want to *rename* options, then you need to do a MAJOR update in
#    version, e.g. from 1.0.0 to 2.0.0
# 3. You don't need to touch this value if you're just adding a new option
CONF_VERSION = '1.0.0'

change shortcuts to avoid duplicates