Skip to content

Tab character handling/rendering #182

@jennydaman

Description

@jennydaman

A popular use case of Wayland menu dialogs is for providing a GUI for cliphist. The command cliphist list produces \t characters, which are not rendered by yofi:

Image

The documentation of cliphist shows examples of how programs similar to yofi, such as fzf, rofi, and wofi, all have some feature which support treating the input as tab-separated values and selecting a specific column.

  • yofi should render \t characters
  • feature request: yofi dialog should support the flag --with-nth

Workaround

yofi can still be used with cliphist like this:

cliphist list | sed 's/\t/    /' | yofi dialog | sed 's/    /\t/' | cliphist decode | wl-copy
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions