Is there something like feedkeys()?

Yury V. Zaytsev yury at shurup.com
Thu Jan 28 21:56:40 UTC 2021


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 at 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




More information about the mc mailing list