Bertrand Janin wrote:
> Hello all,
> 
> I'm a big fan of the ExeBuf "Run command" module, so much that I
> actually start mostly everything from it. The only (tiny) feature it
> lacked was being able to clear the line when hitting ^U. I included a
> small patch to add Ctrl-U. Anybody willing to check/commit it?

+   len = strlen(cmd_buf);
+   if (len > 0)

Don't check for empty string with strlen, use 'if (cmd_buf[0] != 0)'

Sebastian

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to