tclib icon indicating copy to clipboard operation
tclib copied to clipboard

Set of single-file public domain libraries.

Results 11 tclib issues
Sort by recently updated
recently updated
newest added

Using the _insert_ key should change between insert and overwrite modes.

enhancement

Double underscores anywhere in an identifier are reserved in C++ (their use was temporary anyways). They should be replaced with some other syntax.

In non-Windows, the libraries currently silently assume the input is UTF-8. The information is (_mostly_) available, and it should be used to convert the locale-specific `char` encoding to UTF-8. See...

bug

The `tcterm_get_cursor_pos()` function currently flushes all input in order to get the data in POSIX — that should be fixed. The best way to do that is to take advantage...

bug

Currently, `tcterm_getc()` is the only way of getting input and it is _slow_. For that purpose, buffering and/or some sort of a `tcterm_read()` should be added.

enhancement

The libraries which can be tested effectively (which is most of them at the moment), should get some tests made — perhaps with continuous integration.

The headers are currently almost completely undocumented. That should be remedied.

Currently, only a single callback exists. Instead, multiple events should be recognized and passed to the user. I have already decided to go with option nr. 3, but for the...

enhancement

Right now, all history is discarded on exit. It should be read or written from/to a file or a custom stream. This might require another dependency, `tc_stream` (since I expect...

enhancement

The libraries are limited to getting (and storing in history) only a single line of input. This should be added. Some sort of an API is needed to provide support...

enhancement