Commits

Andrey Lesnikov committed bcf61b4

Employed 'ESC' - replaced magic number in command_ed().

Comments (0)

Files changed (1)

 bool
 command_ed(char c){
   if(c=='o') insert_empty_line();
-  else if(c=='i') insert(0x1B/*ESC*/);
+  else if(c=='i') insert(ESC);
   else if(c=='r') replace_char();
   else if(c=='x') removechar();
   else if(c=='X') removeselected();