Focus message entry when creating a new chat

This commit is contained in:
jeffser 2024-08-11 15:59:39 -06:00
parent d95f06a230
commit edc3053774
2 changed files with 3 additions and 1 deletions

View File

@ -9,7 +9,8 @@
"--share=ipc", "--share=ipc",
"--socket=fallback-x11", "--socket=fallback-x11",
"--device=dri", "--device=dri",
"--socket=wayland" "--socket=wayland",
"--env=LANGUAGE=fr_FR.UTF-8"
], ],
"cleanup" : [ "cleanup" : [
"/include", "/include",

View File

@ -1433,6 +1433,7 @@ Generate a title following these rules:
self.chats["order"].insert(0, chat_name) self.chats["order"].insert(0, chat_name)
self.save_history() self.save_history()
self.new_chat_element(chat_name, True, False) self.new_chat_element(chat_name, True, False)
self.set_focus(self.message_text_view)
def stop_pull_model(self, model_name): def stop_pull_model(self, model_name):
logger.debug("Stopping model pull") logger.debug("Stopping model pull")