nick42d/youtui

Editing search queries?

Closed this issue · 4 comments

Is it intentional that it's not possible to edit the input in the search field? It would be nice to be able to have normal movement using left/right cursor keys.

G'day, it's not intentional, just my simple implementation, although Backspace should work. This is lower priority, but planned. The TextHandler trait would be the key place to implement it.

Backspace should work

In most term. emulators, it does 👍

This is lower priority

Ack

Implementation note; this needs to consider unicode when moving the cursor and inserting text at the cursor

Implemented in #182 which will be merged shortly. There are a few bonus keybindings as well but they may be changed slightly once #10 is implemented.