fix: drop stale todos

Signed-off-by: Chapman Pendery <cpendery@vt.edu>
This commit is contained in:
Chapman Pendery
2023-10-06 21:43:15 -07:00
parent 2c689f6fdc
commit e81f0731bc
2 changed files with 0 additions and 3 deletions
-1
View File
@@ -59,7 +59,6 @@ export default function Suggestions({
const activePagedSuggestionIndex = activeSuggestionIndex % MaxSuggestions;
const activeDescription = pagedSuggestions.at(activePagedSuggestionIndex)?.description || "";
// TODO: tweak this logic to be more accurate as it gives bad offsets on wrap
const wrappedPadding = leftPadding % windowWidth;
const maxPadding = activeDescription.length !== 0 ? windowWidth - SuggestionWidth - DescriptionWidth : windowWidth - SuggestionWidth;
const swapDescription = wrappedPadding > maxPadding;
-2
View File
@@ -6,8 +6,6 @@ import { Suggestion } from "../runtime/model.js";
import Cursor from "./cursor.js";
import Suggestions from "./suggestions.js";
// TODO: fix issue where we are not rendering some rows of the suggestion UI
const Prompt = "> ";
function UI() {