Skip to content

Commit 65514e9

Browse files
CopilotZenanH
andcommitted
Remove unused DEFAULT_INDENT constant and indent field
Co-authored-by: ZenanH <[email protected]>
1 parent f69791f commit 65514e9

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ MiniProgressBar(;
7575
color::Symbol = :nothing, # Bar color (:green, :blue, :red, etc.)
7676
width::Int = 40, # Progress bar width
7777
current::Int = 0, # Current progress value
78-
indent::Int = 4, # Left indentation
7978
show_eta::Bool = true, # Show estimated time remaining
8079
update_interval::Float64 = 3.0, # Minimum seconds between updates
8180
always_reprint::Bool = false # Force update every call

src/progressbar.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ const SECONDS_PER_HOUR = 3600
66
const SECONDS_PER_DAY = 86400
77
const DEFAULT_PROGRESS_WIDTH = 40
88
const DEFAULT_UPDATE_INTERVAL = 3.0
9-
const DEFAULT_INDENT = 4
109
const PROGRESS_BAR_PADDING = 10 # Space reserved for progress bar decorations and spacing
1110

1211
# ANSI escape codes
@@ -42,7 +41,6 @@ Base.@kwdef mutable struct MiniProgressBar
4241
has_shown::Bool = false
4342
time_shown::Float64 = 0.0
4443
always_reprint::Bool = false
45-
indent::Int = DEFAULT_INDENT
4644
show_eta::Bool = true
4745
start_time::Float64 = 0.0
4846
update_interval::Float64 = DEFAULT_UPDATE_INTERVAL

0 commit comments

Comments
 (0)