Skip to content

Commit

Permalink
fix: Enter key properly working when reading analysis from file
Browse files Browse the repository at this point in the history
  • Loading branch information
dundee committed Feb 13, 2024
1 parent 6407b17 commit efa7e46
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion tui/actions.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ func (ui *UI) AnalyzePath(path string, parentDir fs.Item) error {
AddItem(nil, 0, 1, false)

ui.pages.AddPage("progress", flex, true, true)
ui.table.SetSelectedFunc(ui.fileItemSelected)

go ui.updateProgress()

Expand Down
1 change: 1 addition & 0 deletions tui/tui.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ func CreateUI(

ui.table = tview.NewTable().SetSelectable(true, false)
ui.table.SetBackgroundColor(tcell.ColorDefault)
ui.table.SetSelectedFunc(ui.fileItemSelected)

if ui.UseColors {

Expand Down

0 comments on commit efa7e46

Please sign in to comment.