euporie.core.widgets.inputs.TabsProcessor

class euporie.core.widgets.inputs.TabsProcessor(tabstop: Union[int, Callable[[], int]] = 4, char1: Union[str, Callable[[], str]] = '|', char2: Union[str, Callable[[], str]] = '┈', style: str = 'class:tab')

Render tabs as spaces (instead of ^I) or make them visible (for instance, by replacing them with dots.)

Parameters:
  • tabstop – Horizontal space taken by a tab. (int or callable that returns an int).

  • char1 – Character or callable that returns a character (text of length one). This one is used for the first space taken by the tab.

  • char2 – Like char1, but for the rest of the space.