diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2018-04-28 17:08:28 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2018-04-28 17:08:44 -0700 |
| commit | df9a82a9711faf20c705d806fceab5c154b37f4c (patch) | |
| tree | 7f873b6397772b65ef1c47a8e4db924ed17994af /nomsu_tree.moon | |
| parent | d13a945b5f8924c1416ea2bd72212efdb3bebc20 (diff) | |
Overhaul of command-line API. It's a bit cleaner now.
Diffstat (limited to 'nomsu_tree.moon')
| -rw-r--r-- | nomsu_tree.moon | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nomsu_tree.moon b/nomsu_tree.moon index 5a505d0..28f7acf 100644 --- a/nomsu_tree.moon +++ b/nomsu_tree.moon @@ -219,6 +219,9 @@ Tree "Action", next_space = "" nomsu\append next_space, arg_nomsu next_space = "\n.." + + if next_space == " " and #(tostring(nomsu)\match("[^\n]*$")) > MAX_LINE + next_space = "\n.." return nomsu |
