1 |
2004-06-04 00:07 psionic |
2 |
|
3 |
* Shelly.pm: [no log message] |
4 |
|
5 |
2004-06-03 23:48 psionic |
6 |
|
7 |
* foo.pl: - Test code! :) |
8 |
|
9 |
2004-06-03 23:48 psionic |
10 |
|
11 |
* Shelly.pm: - Added 4 WORD_* constants for the find_word_bound |
12 |
function WORD_BEGINNING - get the position of the beginning of |
13 |
the word WORD_END - get the position of the end of the word |
14 |
WORD_ONLY - only count words, ignore trailing spaces WORD_REGEX |
15 |
- you specify your own regex to match - Major update: Made |
16 |
everything object oriented. perldoc Term::Shelly for use. - |
17 |
Moved $bindings and $mappings to the new() sub for initialization |
18 |
- Changed init() to new() and added lots of lines. - Also moved |
19 |
sigwinch stuff to the new() sub, haven't tested it yet. - Added |
20 |
prototypes to most functions, I'll get around to the rest later. |
21 |
- Podded a bunch of functions, again, will do the rest later. - |
22 |
fix_inputline() now does everything... kinda. It does all the |
23 |
input position handling. If the input position goes past the |
24 |
end of the screen, it'll compensate. Same for if it goes too |
25 |
far back (left). Furthermore, sigwinch calls this function too |
26 |
to redraw the line and shuffle things if need be. Weee! - |
27 |
Wrote find_word_bound() - This took the bound searching |
28 |
functionality out of the delete_word_backward function. It |
29 |
finds word boundaries, see the pod for usage. - |
30 |
complete_word() also uses find_word_bound now. - Got rid of the |
31 |
test code (4 whole lines) and moved it to a better place |
32 |
|
33 |
2004-06-03 01:27 psionic |
34 |
|
35 |
* Shelly.pm: - delete_word_backward almost works exactly like it |
36 |
does in tcsh and |
37 |
|
38 |
2004-06-03 00:30 psionic |
39 |
|
40 |
* Shelly.pm: - Initial commit. - Most code used in tic |
41 |
obliterated, it was bad. Some lines I didn't even remember what |
42 |
they did. - Dynamic key binding works, dynamic mapping works. - |
43 |
SIGWINCH works - termcols gets properly set - backward_char, |
44 |
forward_char, delete_char_backward, kill_line, newline, |
45 |
beginning_of_line, end_of_line all work. - fix_inputline() works |
46 |
now. - afaik, key inputs are handled without troubles. Control |
47 |
chars work, as do ansi-control keys (left arrow, for instance, |
48 |
which is actually a sequence of characters). Moving around |
49 |
seems like it's working alright. Whew! |
50 |
|