mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-10 22:21:22 -07:00
Co-authored-by: Jacob Richman <jacob314@gmail.com>
This commit is contained in:
@@ -40,7 +40,7 @@ function isWordChar(ch: string | undefined): boolean {
|
||||
*/
|
||||
function stripUnsafeCharacters(str: string): string {
|
||||
const stripped = stripAnsi(str);
|
||||
return toCodePoints(stripAnsi(stripped))
|
||||
return toCodePoints(stripped)
|
||||
.filter((char) => {
|
||||
if (char.length > 1) return false;
|
||||
const code = char.codePointAt(0);
|
||||
|
||||
Reference in New Issue
Block a user