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
- Launch clipse:
- Open the clipboard history search.
- Type a query in English, for example:
- 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
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
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:
Additional notes
If needed, I can provide additional logs or help reproduce the issue.
clipse.log
config.json