feat(profile): nicer threshold prompt (#210)

This commit is contained in:
Dr. David A. Kunz 2022-12-28 17:38:08 +01:00 committed by GitHub
parent dc03fa1ae5
commit ff8f3783fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ function M.create()
self:on_key(ViewConfig.keys.profile_filter, function()
if self.state.mode == "profile" then
vim.ui.input({
prompt = "Enter time threshold in ms, like 0.5",
prompt = "Enter time threshold in ms: ",
default = tostring(self.state.profile.threshold),
}, function(input)
if not input then