Skip to content

TUI crashes when searching with English (Latin) characters #341

@HappyCthulhu

Description

@HappyCthulhu

Description

When using the search feature in the TUI, the application crashes if the search query contains English (Latin) characters.

Searching using Russian (Cyrillic) characters works normally and does not produce any errors.


Environment

OS: Manjaro Linux
WM: Hyprland (Wayland)
Shell: fish
Clipboard backend: wl-clipboard


Steps to reproduce

  1. Launch clipse:
clipse
  1. Open the clipboard history search.
  2. Type a query in English, for example:
test
  1. The application crashes and exits.

Expected behavior

Search should filter clipboard history entries normally regardless of the alphabet used (Latin or Cyrillic).


Actual behavior

The application crashes and prints a stack trace:

goroutine 1 [running]:
runtime/debug.Stack()
runtime/debug.PrintStack()
github.com/savedra1/clipse/utils.HandleError
github.com/savedra1/clipse/cmd.launchTUI()
github.com/savedra1/clipse/cmd.Main()
main.main()

Additional notes

  • Searching with Russian (Cyrillic) text works correctly
  • The crash occurs only when typing Latin characters
  • The issue occurs under Wayland (Hyprland) with wl-clipboard

If needed, I can provide additional logs or help reproduce the issue.

clipse.log
config.json

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