Commit 0d83858
fix(tui): only show help menu on '?' when input is empty (#494)
Previously, pressing '?' would always open the help menu regardless
of whether there was text in the input field. This made it impossible
to type the '?' character when composing prompts.
Now, pressing '?' will:
- Open the help menu if the input is empty
- Type '?' into the input if there is existing text
This allows French keyboard users and others to type '?' while still
providing quick access to help when the prompt is empty.
Co-authored-by: Droid Agent <droid@factory.ai>1 parent 6e011bc commit 0d83858
1 file changed
+15
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1952 | 1952 | | |
1953 | 1953 | | |
1954 | 1954 | | |
| 1955 | + | |
| 1956 | + | |
| 1957 | + | |
| 1958 | + | |
| 1959 | + | |
| 1960 | + | |
| 1961 | + | |
| 1962 | + | |
| 1963 | + | |
| 1964 | + | |
| 1965 | + | |
| 1966 | + | |
| 1967 | + | |
| 1968 | + | |
| 1969 | + | |
1955 | 1970 | | |
1956 | 1971 | | |
1957 | 1972 | | |
| |||
0 commit comments