Skip to content

Commit

Permalink
Removed deprecated pokecursor option
Browse files Browse the repository at this point in the history
  • Loading branch information
klaudiosinani committed Apr 20, 2018
1 parent 75c9245 commit 0db6e1b
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@ exports.decorateConfig = config => {
const unibody = config.unibody || 'true';
const unibodyFlag = unibody !== 'false';

// Get the pokecursor option - default 'false'
const pokecursor = config.pokecursor || 'false';
const pokecursorFlag = pokecursor === 'true';

// Get the poketab option - default 'false'
const poketab = config.poketab || 'false';
const poketabFlag = poketab === 'true';
Expand Down Expand Up @@ -258,14 +254,10 @@ exports.decorateConfig = config => {
pathToPokecursor = assemblePokecursorPath;
}

// Pokecursor settings
const cursorVisibility = (pokecursorFlag === true) ? 'transparent' : secondary;
const cursorContent = (pokecursorFlag === true) ? pathToPokecursor : '';
// Poketab settings
const tabContent = (poketabFlag === true) ? pathToPokecursor : '';

return Object.assign({}, config, syntax, {
cursorColor: cursorVisibility,
termCSS: config.termCSS || '',
css: `
${config.css || ''}
Expand Down

0 comments on commit 0db6e1b

Please sign in to comment.