mirror of
https://github.com/openai/codex.git
synced 2026-04-24 14:45:27 +00:00
comments
This commit is contained in:
@@ -28,8 +28,6 @@ const BASE_PLACEHOLDER_TEXT: &str = "...";
|
||||
/// If the pasted content exceeds this number of characters, replace it with a
|
||||
/// placeholder in the UI.
|
||||
const LARGE_PASTE_CHAR_THRESHOLD: usize = 1000;
|
||||
/// Keep at least this many rows for the composer when popups are visible.
|
||||
const MIN_TEXTAREA_HEIGHT: u16 = 3;
|
||||
|
||||
/// Result returned when the user interacts with the text area.
|
||||
pub enum InputResult {
|
||||
|
||||
@@ -108,7 +108,6 @@ impl FileSearchPopup {
|
||||
.map(|file_match| file_match.path.as_str())
|
||||
}
|
||||
|
||||
/// Preferred height (rows) including border.
|
||||
pub(crate) fn calculate_required_height(&self) -> u16 {
|
||||
// Row count depends on whether we already have matches. If no matches
|
||||
// yet (e.g. initial search or query with no results) reserve a single
|
||||
|
||||
Reference in New Issue
Block a user