mirror of
https://github.com/wolfpld/tracy.git
synced 2026-09-04 17:38:27 +00:00
Focus chat entry field when LLM UI is opened.
This commit is contained in:
@@ -163,6 +163,7 @@ void TracyLlm::Draw()
|
||||
ImGui::EndChild();
|
||||
ImGui::Spacing();
|
||||
|
||||
if( ImGui::IsWindowAppearing() ) ImGui::SetKeyboardFocusHere( 0 );
|
||||
ImGui::PushItemWidth( -1 );
|
||||
if( ImGui::InputTextWithHint( "##ollama_input", "Write your question here...", m_input, InputBufferSize, ImGuiInputTextFlags_EnterReturnsTrue ) )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user