Skip to content

Commit 7cfe63a

Browse files
committed
fix: clear border lines on resize and reprint
1 parent c230fdc commit 7cfe63a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd/shell/input.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ func (m inputModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
7777
switch msg := msg.(type) {
7878
case tea.WindowSizeMsg:
7979
m.width = msg.Width
80-
return m, nil
80+
return m, tea.ClearScreen
8181
case tea.KeyMsg:
8282
switch msg.Type {
8383
case tea.KeyEnter:

0 commit comments

Comments
 (0)