Skip to content

Commit 076b578

Browse files
authored
chore: Remove duplicate and redundant code (#626)
Signed-off-by: cuishuang <imcusg@gmail.com>
1 parent cf3f46a commit 076b578

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

table/table.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,8 +219,6 @@ func (m Model) Update(msg tea.Msg) (Model, tea.Cmd) {
219219
m.MoveUp(m.viewport.Height / 2)
220220
case key.Matches(msg, m.KeyMap.HalfPageDown):
221221
m.MoveDown(m.viewport.Height / 2)
222-
case key.Matches(msg, m.KeyMap.LineDown):
223-
m.MoveDown(1)
224222
case key.Matches(msg, m.KeyMap.GotoTop):
225223
m.GotoTop()
226224
case key.Matches(msg, m.KeyMap.GotoBottom):

0 commit comments

Comments
 (0)