Giter Site home page Giter Site logo

wineditline's Introduction

WinEditLine
-----------

An EditLine API implementation for the native Windows Console.
This BSD-licensed library provides command line editing and history
functions similar to those found in GNU Readline.

Paolo Tosco (*)

*) e-mail: [email protected]

http://mingweditline.sourceforge.net/


WinEditLine (formerly MinGWEditLine) is a BSD-licensed, open-source
software aimed at implementing most of the functionality of the GNU
Readline library in the framework of the native Windows Console.
In particular, the following functions have been implemented in the
WinEditLine API:

  void source_editrc()
  char *readline(char *prompt)
  char **rl_completion_matches(const char *text,
      char *entry_func(const char *, int))
  char *rl_filename_completion_function(const char *text, int state)
  void rl_free(void *mem)
  int using_history()
  void free_history()
  void free_history_entry(HIST_ENTRY *entry)
  void clear_history()
  char *add_history(char *line)
  HIST_ENTRY *remove_history(int i)
  HIST_ENTRY *replace_history_entry(int i, char *line,
      histdata_t dummy)
  HIST_ENTRY **history_list()
  int where_history()
  int history_length()
  HIST_ENTRY *current_history()
  HIST_ENTRY *history_get(int offset)
  int history_set_pos(int i)
  HIST_ENTRY *previous_history()
  HIST_ENTRY *next_history()
  int read_history(const char *filename)
  int write_history(const char *filename)
  int append_history(int nelements, const char *filename)
  int history_truncate_file(const char *filename, int nlines)

Please refer to the website and to the fully commented source code
for more detailed and up-to-date information.

For WinEditLine I have used an icon originally drawn by Mattahan,
which is licensed under the Creative Commons license.

wineditline's People

Contributors

weltling avatar cmb69 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.