Re: history patch
"S.Aeschbacher" <[email protected]>
| Newsgroups | gmane.comp.games.mud.client.lyntin |
|---|---|
| Message-ID | <[email protected]> |
when I run runlyntin -ui curses, the history patch works, but when I run runlyntin -ui tk, the history seems to work as before (without the patch applied). Its just an impression, I did not check the source of the client at all ;) Stefan On Tue, Nov 11, 2003 at 11:16:15AM -0600, will guaraldi wrote: > > You sure about that? Looks like it uses the history manager's history > buffer to me. I'll test it when I get home, but I think it's working > fine. What makes you say the tkui isn't using the history manager history > buffer? > > > On Tue, 11 Nov 2003, S.Aeschbacher wrote: > > > > thats ok for me :) > > > > BTW the tk ui does not seem to use this history, is this intentional? > > > > regards > > > > Stefan > > > > > > On Tue, Nov 11, 2003 at 11:03:50AM -0600, will guaraldi wrote: > > > > > > People have mentioned before on the list that they want the exact history. > > > So this patch wouldn't work for them. > > > > > > I'll make it configurable, though, from the #config command. > > > > > > On Tue, 11 Nov 2003, S.Aeschbacher wrote: > > > > > > > Hi > > > > how about this minor modification to history.py? > > > > In my eyes it does not make much sense storing repeatedly the > > > > same string in the history (It just slows down history browsing). > > > > > > > > > > > > --- history.py.old Tue Nov 11 17:36:41 2003 > > > > +++ history.py Tue Nov 11 17:35:42 2003 > > > > @@ -83,6 +83,9 @@ > > > > if not input: > > > > return > > > > > > > > + if input == self._history[0]: > > > > + return > > > > + > > > > self._history.insert(0, input) > > > > if len(self._history) > 1000: > > > > del self._history[-1] > > > > > > > > regards > > > > > > > > Stefan > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.Net email sponsored by: ApacheCon 2003, > > > > 16-19 November in Las Vegas. Learn firsthand the latest > > > > developments in Apache, PHP, Perl, XML, Java, MySQL, > > > > WebDAV, and more! http://www.apachecon.com/ > > > > _______________________________________________ > > > > Lyntin-devl mailing list > > > > [email protected] > > > > https://lists.sourceforge.net/lists/listinfo/lyntin-devl > > > > > > > > > > -- > > > whatever it is, you can find it at http://www.bluesock.org/~willg/ > > > except Will--you can only see him in real life. > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: ApacheCon 2003, > > 16-19 November in Las Vegas. Learn firsthand the latest > > developments in Apache, PHP, Perl, XML, Java, MySQL, > > WebDAV, and more! http://www.apachecon.com/ > > _______________________________________________ > > Lyntin-devl mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/lyntin-devl > > > > -- > whatever it is, you can find it at http://www.bluesock.org/~willg/ > except Will--you can only see him in real life.