Just enter now sends the message
This commit is contained in:
parent
8dabb27689
commit
913a7a0b39
@ -1005,7 +1005,8 @@ class AlpacaWindow(Adw.ApplicationWindow):
|
|||||||
GtkSource.init()
|
GtkSource.init()
|
||||||
self.set_help_overlay(self.shortcut_window)
|
self.set_help_overlay(self.shortcut_window)
|
||||||
self.get_application().set_accels_for_action("win.show-help-overlay", ['<primary>slash'])
|
self.get_application().set_accels_for_action("win.show-help-overlay", ['<primary>slash'])
|
||||||
self.get_application().create_action('send', lambda *_: self.send_message(self), ['<primary>Return'])
|
self.get_application().create_action('send', lambda *_: self.send_message(self), ['Return'])
|
||||||
|
#self.get_application().create_action('new_line', lambda *_: self.message_text_view.get_buffer().insert_at_cursor("\n", len("\n")), ['<shift>Return'])
|
||||||
self.manage_models_button.connect("clicked", self.manage_models_button_activate)
|
self.manage_models_button.connect("clicked", self.manage_models_button_activate)
|
||||||
self.send_button.connect("clicked", self.send_message)
|
self.send_button.connect("clicked", self.send_message)
|
||||||
self.image_button.connect("clicked", self.open_image)
|
self.image_button.connect("clicked", self.open_image)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user