Re: Is there something like feedkeys()?



Maybe looking at how the macro stuff works in mcedit would help?

Sent from my iPad

On 28. Jan 2021, at 22:43, Sebastian Gniazdowski via mc <mc gnome org> wrote:


Hi,
on Vim there's feedkeys() function that simulates series of keypresses like if they've been typed by a 
user, so e.g.: feedkeys(":wq\<CR>") exits the editor.

Is there maybe something similar in MC's codebase?

-- 
Sebastian Gniazdowski

_______________________________________________
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]