diff --git a/py-vterm-interaction.el b/py-vterm-interaction.el index 0af6d30..eba6868 100644 --- a/py-vterm-interaction.el +++ b/py-vterm-interaction.el @@ -116,6 +116,13 @@ If in doubt, set this to :python.") :type 'number :group 'py-vterm-interaction-repl) +(defvar-local py-vterm-interaction-paste-with-return t + "Whether to send a return key after pasting a string to the Python REPL.") + +(defvar-local py-vterm-interaction-paste-with-clear t + "Whether to clear the line before pasting a string to the Python REPL.") + + (defun py-vterm-interaction-repl-buffer-name (&optional session-name) "Return a Python REPL buffer name whose session name is SESSION-NAME. If SESSION-NAME is not given, the default session name `main' is assumed." @@ -400,12 +407,6 @@ inferior Python process and the current active environment." :type 'hook :group 'py-vterm-interaction) -(defvar-local py-vterm-interaction-paste-with-return t - "Whether to send a return key after pasting a string to the Python REPL.") - -(defvar-local py-vterm-interaction-paste-with-clear t - "Whether to clear the line before pasting a string to the Python REPL.") - (defvar-local py-vterm-interaction-fellow-repl-buffer nil) (defvar-local py-vterm-interaction-session nil) (defvar-local py-vterm-interaction-context nil)