public fun toggleCommandsVisibility() { val isHidden = commandSuggestions.value.isEmpty()  commandSuggestions.value = if (isHidden) commands else emptyList() }
Toggles the visibility of the command suggestion list popup.