Commits

seydar  committed 046f32c Draft

fixed tab completion when abutting arrays

  • Participants
  • Parent commits 5a9abcb

Comments (0)

Files changed (2)

 *   interprocess communication
     -> sharing of variables between chitin processes
 *   remove trailing whitespace from lines somehow. maybe as a final transformation when you hit enter?
+*   `other_ls = method(:ls)` would be cool. note that ls is mapped to a binary and is not actually a method
 
 QUIRKS:
 *   menu doesn't erase itself sometimes
     but `... > 'test'` works. weird.
 *   ^C on running ruby programs kills the whole interpreter... womp.
 *   slashes in filenames
+*   `include Math; sin(5)` fails
 
 Questions:
 *   Why do you have to do @line = '' in Coolline in order to not affect the

File lib/chitin/session.rb

       @editor  = Coolline.new do |c|
         # Remove the default of '-' and add support for strings
         # starting after parentheses.
-        c.word_boundaries = [' ', "\t", "(", ")"]
+        c.word_boundaries = [' ', "\t", "(", ")", '[', ']']
         c.history_file    = File.join ENV['HOME'], '.chitin_history'
 
         # Make sure we don't kill the shell accidentally when we're trying to