feat: add terminal title and progress indicator for approval screens (#499)
Co-authored-by: Letta <noreply@letta.com>
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { Box, Text, useInput } from "ink";
|
||||
import { memo, useState } from "react";
|
||||
import { resolvePlaceholders } from "../helpers/pasteRegistry";
|
||||
import { useProgressIndicator } from "../hooks/useProgressIndicator";
|
||||
import { colors } from "./colors";
|
||||
import { MarkdownDisplay } from "./MarkdownDisplay";
|
||||
import { PasteAwareTextInput } from "./PasteAwareTextInput";
|
||||
@@ -45,6 +46,7 @@ export const PlanModeDialog = memo(
|
||||
const [selectedOption, setSelectedOption] = useState(0);
|
||||
const [isEnteringReason, setIsEnteringReason] = useState(false);
|
||||
const [denyReason, setDenyReason] = useState("");
|
||||
useProgressIndicator();
|
||||
|
||||
const options = [
|
||||
{ label: "Yes, and auto-accept edits", action: onApproveAndAcceptEdits },
|
||||
|
||||
Reference in New Issue
Block a user