We don't need these options unless we need key release, which are not
used in the codebase, or uniform key where we need to handle Unicode key
events, which we don't.
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
Carlos Alexandro Becker
created
ee1cac6
refactor(tools): replace custom LineScanner with bufio.Scanner
Ayman Bagabas
created
49059f8
fix(tui): escape ANSI escape sequences and control characters in tool
Click to expand commit body
call content
This would ensure that the content is displayed correctly in the
terminal, without any unintended formatting or control characters or
escape sequences. It will also style the escaped content for
display in the terminal, making it more readable.
Ayman Bagabas
created
e8212e5
Merge pull request #174 from charmbracelet/onboarding-remove-ctrlv
Click to expand commit body
fix(tui): chat: remove paste key binding from onboarding
Kujtim Hoxha
created
3ebc761
Merge remote-tracking branch 'origin/main' into small-fixes
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
Carlos Alexandro Becker
created
911dc9b
fix(tui): chat: remove paste key binding from onboarding
Click to expand commit body
The keybinding does not bind to any action in the app but rather assumes
the terminal application's default paste behavior. We shouldn't assume
that and instead leave it to the terminal emulator and user to handle
pasting.
On most macOS terminals the default paste keybinding is `cmd+v` and on
most Windows and Linux terminals it is `ctrl+shift+v`.
Ayman Bagabas
created
2aa5f61
fix: non-interactive and context cancellation when SIGINT (#143)
Click to expand commit body
* fix: non-interactive and context cancellation when SIGINT
* fix: spinner interrupt
* refactor: remove weird context value usage
* fix: improvements
* fix: spinner competing for signal handling
* fix: vendoring
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
* fix: ctrl+c in raw mode
* fix: sigkill can't be handled
---------
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
Carlos Alexandro Becker
created
8ff604f
Merge pull request #134 from charmbracelet/comp-padding
Click to expand commit body
fix(tui): editor: position completions correctly and account for padding
* chore(deps): update mcp-go
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
* fix: vendoring
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
---------
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>