Add whitespace todo
This commit is contained in:
parent
34f33ff038
commit
09aed3181e
1 changed files with 4 additions and 0 deletions
|
|
@ -5,6 +5,10 @@ use crate::nick;
|
||||||
|
|
||||||
use super::{Command, Context};
|
use super::{Command, Context};
|
||||||
|
|
||||||
|
// TODO Don't ignore leading whitespace?
|
||||||
|
// I'm not entirely happy with how commands handle whitespace, and on euphoria,
|
||||||
|
// prefixing commands with whitespace is traditionally used to not trigger them.
|
||||||
|
|
||||||
/// Parse leading whitespace followed by an prefix-initiated command.
|
/// Parse leading whitespace followed by an prefix-initiated command.
|
||||||
///
|
///
|
||||||
/// Returns the command name and the remaining text with one leading whitespace
|
/// Returns the command name and the remaining text with one leading whitespace
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue