<commit_before>const request = require('request');
const contrib = require('blessed-contrib');
const NodeCache = require('node-cache');

class Todoist {
  constructor(config) {
    this._config = config;

    this._cacheKey = 'todoist';
    this._cache = new NodeCache({ stdTTL: this._config.todoist.cache_in_seconds, checkperiod: 120 });

    this._headers = ['Description', 'Labels'];
    this._setData([['Awaiting data...', '']]);

    this._widgetType = contrib.table;
    this._widgetOptions = {
      keys: false,
      interactive: false,
      label: '.tasks for today',
      width: '40%',
      height: '40%',
      border: { type: 'line', fg: 'cyan' },
      columnSpacing: 6, // in chars
      columnWidth: [40, 17], // in chars<commit_msg>Adjust chars number for tasks<commit_after>const request = require('request');
const contrib = require('blessed-contrib');
const NodeCache = require('node-cache');

class Todoist {
  constructor(config) {
    this._config = config;

    this._cacheKey = 'todoist';
    this._cache = new NodeCache({ stdTTL: this._config.todoist.cache_in_seconds, checkperiod: 120 });

    this._headers = ['Description', 'Labels'];
    this._setData([['Awaiting data...', '']]);

    this._widgetType = contrib.table;
    this._widgetOptions = {
      keys: false,
      interactive: false,
      label: '.tasks for today',
      width: '40%',
      height: '40%',
      border: { type: 'line', fg: 'cyan' },
      columnSpacing: 6, // in chars
      columnWidth: [45, 17], // in chars
{'fraction_non_alphanumeric': 0.16052631578947368, 'fraction_numerical': 0.015789473684210527, 'mean_word_length': 3.2367688022284122, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '768233', 'n_tokens_mistral': 500, 'n_tokens_neox': 470, 'n_words': 117}