1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-12-19 17:31:44 +03:00
kakoune/src/commands.hh
Maxime Coste 04536657d1 Add a kill command that kills the current session
Fixes #331
A given session can be killed with 'echo kill | kak -p <session>'
2015-08-26 19:34:19 +01:00

20 lines
279 B
C++

#ifndef commands_hh_INCLUDED
#define commands_hh_INCLUDED
#include "array_view.hh"
namespace Kakoune
{
class Context;
class Key;
void register_commands();
void exec_keys(ConstArrayView<Key> keys, Context& context);
struct kill_session {};
}
#endif // commands_hh_INCLUDED