how complicated can a match pattern be, trying to convert macro from termion to crossterm

前端 未结 0 1564
余生分开走
余生分开走 2021-02-08 06:13

I have this code that works in termion

    macro_rules! key {
        (char $x:expr) => {
            Event::Key(Key::Char($x))
        };
        (ctrl $x:exp         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题