tui: remove debug console.log statements

This commit is contained in:
Dax Raad 2025-09-26 02:25:52 -04:00
parent fa1a637af5
commit 7506b031f3
3 changed files with 0 additions and 12 deletions

View file

@ -15,7 +15,6 @@ import fuzzysort from "fuzzysort"
import { useCommandDialog } from "./dialog-command"
import { useKeybind } from "../context/keybind"
import { Clipboard } from "../../../../util/clipboard"
import { useKeyboard } from "@opentui/solid"
export type PromptProps = {
sessionID?: string
@ -49,14 +48,6 @@ export function Prompt(props: PromptProps) {
if (dialog.stack.length > 0) input.blur()
})
useKeyboard((evt) => {
console.log({
focused: input.focused,
name: evt.name,
sessionID: props.sessionID,
})
})
return (
<>
<Autocomplete
@ -81,7 +72,6 @@ export function Prompt(props: PromptProps) {
<input
onPaste={async function (text) {
const content = await Clipboard.read()
console.log(content)
if (!content) {
this.insertText(text)
}

View file

@ -82,7 +82,6 @@ export function init() {
option: evt.option,
}
for (const key of keybind) {
console.log("compareing", key, parsed)
if (Keybind.match(key, parsed)) {
return true
}

View file

@ -41,7 +41,6 @@ export function Session() {
const keybind = useKeybind()
useKeyboard((evt) => {
console.log(evt.name)
if (keybind.match("messages_page_up", evt)) scroll.scrollBy(-scroll.height / 2)
if (keybind.match("messages_page_down", evt)) scroll.scrollBy(scroll.height / 2)
})