summaryrefslogtreecommitdiff
path: root/src/fe-common/core/command-history.c
AgeCommit message (Collapse)Author
2017-10-06add a key binding to erase history entriesailin-nemui
it is possible to delete the current history entry using the erase_history_entry key binding
2017-10-06add two XSFuncs to manipulate command history entriesailin-nemui
it is possible to use Irssi::UI::Window::get_history_entries to save the history entries, load_history_entries to load entries into the command history and delete_history_entries to remove history entries (for example to remove history selectively)
2017-10-06refactor history to use history_entries listailin-nemui
this allows access to the global history even when a using /window history named or /set window_history on, and you want to recall something from one of the other windows' histories. usage (default): ctrl+up/down
2017-04-07Remove over_counterJoseph Bisch
We are no longer using over_counter for any functional purpose, so remove it.
2017-04-06Don't allow command history to wrap aroundJoseph Bisch
This changes the behavior of the command history to avoid wrapping back to the bottom once the top of the history is reached.
2017-04-05Fix strange history behavior when history is emptyJoseph Bisch
If text is being entered and then the user presses the up arrow followed by the down arrow, the expected behavior is to return to the text being entered. Prior to this commit that was not the case. Fixes #462
2016-01-08reorder history add and fixesailin-nemui
2016-01-08option to clear the historyailin-nemui
2015-04-07Change all strcmp() to g_strcmp0() to handle nulls gracefullydequis
Just a string replacement (but i did check every one of them) sed -i 's/strcmp(/g_strcmp0(/g' **/*.c
2014-09-11source cleanup: remove trailing whitespacesMichael Vetter
2014-06-10Replace deprecated g_str[n]casecmp with g_ascii_str[n]cmp.David Hill
2007-05-08Oops. Update address correctly now.Wouter Coekaerts
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4490 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-08Update FSF addressWouter Coekaerts
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4489 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-27Don't add command to history if it's already in there as last entry. patch ↵Timo Sirainen
by peder. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2281 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-20Some crashfixes with command history.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2277 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-20Added command history groups, set them with /WINDOW HISTORY. Patch by ↵Timo Sirainen
peder@ifi.uio.no git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2276 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-08Command history: allow "next history" to jump back to last msg inTimo Sirainen
history if we already went over it with "prev history" once. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1365 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-17windows.h conflicted with microsoft's windows.h :) renamed windows.[ch] toTimo Sirainen
fe-windows.[ch] git-svn-id: http://svn.irssi.org/repos/irssi/trunk@846 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-06When pressing line down, the command line wasn't saved to history.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@653 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-31Don't allow jumping to last line in history from first lineTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@567 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-25/set max_textbuffer_lines changed to /set scrollback_lines andTimo Sirainen
/set scrollback_hours - this means that keep scrollback usually max. x lines, but allow more if the text is newer than n hours. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@231 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-04.. lots of changes ..Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@197 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-26..adding new files..Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@171 dbcabf3a-b0e7-0310-adc4-f8d773084564