Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/help/rest/defpalette.txt
blob: 4b08ae924491519a702827f4b3d50e0a7dadbafe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
.. _defpalette:

.. index::
   pair: menu item; Default palette
   pair: command line option; defaultpalette
   pair: command; defaultpalette

Default palette
===============

**Syntax**:(defaultpalette number)

Create a default palette. In the scripting language, number specifies how much
the palette is shifted by.

Note that changing the palette in truecolor modes forces recalculation of the
whole screen. To avoid this, you can enable the :ref:`palette emulation filter
<palettef>` first.

**Available as**: menu item, command line option, command