Skip to content

Cyrillic type input is not working on Windows when height parameter is used #2921

Open
@FallenGameR

Description

@FallenGameR
  • I have read through the manual page (man fzf)
  • I have the latest version of fzf: 0.32.1 (4993d19)
  • I have searched through the existing issues

Info

  • OS=Windows11
  • Shell=pswh 7.2.5 on Windows Terminal or conhost

Problem / Steps to reproduce

Cyrillic string typed into fzf is rendered as ??? and the search doesn't work.
But when the same search string is passed as -q argument fzf is able to use what was passed in the -q argument.
After some debugging I found out that this problem only occurs if height parameter is used (console output is redacted a bit for readability here).

» $env:FZF_DEFAULT_OPTS = $null
» fzf -q "алиса" --height 60%

> алиса
> Алиса и дракон\Folder.jpg
  Алиса и притворщики\Folder.jpg
  Алиса и дракон\Alisa_i_drakon.mp3
» $env:FZF_DEFAULT_OPTS = $null
» fzf --height 60%

> ?????
» $env:FZF_DEFAULT_OPTS = $null
» fzf

> алиса
> Алиса и дракон\Folder.jpg
  Алиса и притворщики\Folder.jpg
  Алиса и дракон\Alisa_i_drakon.mp3

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions