Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | no, use Esc to cancel | Kartik K. Agaram | 2021-11-14 | 1 | -5/+5 | |
| | | | | | It inserts an ugly pause for ghastly historical reasons having to do with the origins of terminals. But hopefully this isn't a common case. | |||||
* | use word at cursor when it's not at start of line | Kartik K. Agaram | 2021-11-14 | 1 | -2/+4 | |
| | ||||||
* | editor: use ctrl-g to cancel dialogs | Kartik K. Agaram | 2021-11-13 | 1 | -5/+5 | |
| | ||||||
* | jump to word at cursor by default | Kartik K. Agaram | 2021-11-13 | 1 | -0/+28 | |
| | ||||||
* | ctrl-u to clear response in go menu | Kartik K. Agaram | 2021-11-13 | 1 | -0/+3 | |
| | ||||||
* | reset cursor position when switching definitions | Kartik K. Agaram | 2021-11-13 | 1 | -0/+2 | |
| | ||||||
* | . | Kartik K. Agaram | 2021-11-13 | 1 | -1/+0 | |
| | ||||||
* | a larger test image | Kartik K. Agaram | 2021-11-13 | 1 | -0/+81 | |
| | ||||||
* | cleaner layout for a function's code and data | Kartik K. Agaram | 2021-11-13 | 2 | -9/+54 | |
| | ||||||
* | . | Kartik K. Agaram | 2021-11-13 | 1 | -0/+1 | |
| | ||||||
* | . | Kartik K. Agaram | 2021-11-13 | 1 | -4/+1 | |
| | ||||||
* | . | Kartik K. Agaram | 2021-11-13 | 1 | -1/+1 | |
| | ||||||
* | generalize kilo's hard-coded multiline C syntax | Kartik K. Agaram | 2021-11-13 | 1 | -21/+28 | |
| | ||||||
* | . | Kartik K. Agaram | 2021-11-13 | 1 | -6/+2 | |
| | ||||||
* | fix for editor highlighting | Kartik K. Agaram | 2021-11-13 | 1 | -1/+2 | |
| | | | | Bug introduced during the transition to ncurses. | |||||
* | clean up after the editor | Kartik K. Agaram | 2021-11-13 | 1 | -0/+1 | |
| | | | | | Even though we don't need to leave ncurses mode, there's still a process boundary to clean up before. | |||||
* | . | Kartik K. Agaram | 2021-11-13 | 2 | -3/+4 | |
| | ||||||
* | . | Kartik K. Agaram | 2021-11-13 | 2 | -8/+7 | |
| | ||||||
* | kill highlighting flags | Kartik K. Agaram | 2021-11-13 | 1 | -9/+5 | |
| | | | | Looks like they were never used in original Kilo. | |||||
* | replace Kilo's raw terminal handling with ncurses | Kartik K. Agaram | 2021-11-13 | 3 | -357/+92 | |
| | | | | | | This was on my todo list. What made it urgent was finding that calling getch() even once while in ncurses caused Kilo to stop detecting arrow keys. No need to debug that sort of nonsense. | |||||
* | avoid side-effects on the Lua stack | Kartik K. Agaram | 2021-11-13 | 1 | -0/+5 | |
| | ||||||
* | stop leaking memory | Kartik K. Agaram | 2021-11-13 | 2 | -4/+6 | |
| | ||||||
* | memory corruption bug | Kartik K. Agaram | 2021-11-13 | 1 | -1/+3 | |
| | | | | | | | | | I was saving an address on the stack to a global, and it was getting clobbered later. This is the sort of thing I completely eliminated in https://github.com/akkartik/mu :/ Now I'm taking a leaf out of the Mu playbook and leaking a little bit of memory every time I switch definitions. | |||||
* | . | Kartik K. Agaram | 2021-11-13 | 1 | -6/+0 | |
| | ||||||
* | very rudimentary definition browser | Kartik K. Agaram | 2021-11-13 | 1 | -3/+25 | |
| | | | | Never shows definitions that were never called. Including non-functions. | |||||
* | . | Kartik K. Agaram | 2021-11-13 | 1 | -3/+3 | |
| | ||||||
* | . | Kartik K. Agaram | 2021-11-13 | 1 | -9/+0 | |
| | ||||||
* | . | Kartik K. Agaram | 2021-11-13 | 1 | -5/+9 | |
| | ||||||
* | shield kilo.c from teliva_editbuffer detail | Kartik K. Agaram | 2021-11-13 | 2 | -4/+10 | |
| | ||||||
* | . | Kartik K. Agaram | 2021-11-13 | 1 | -2/+5 | |
| | ||||||
* | . | Kartik K. Agaram | 2021-11-13 | 1 | -1/+1 | |
| | ||||||
* | . | Kartik K. Agaram | 2021-11-13 | 2 | -10/+8 | |
| | ||||||
* | . | Kartik K. Agaram | 2021-11-13 | 1 | -3/+3 | |
| | ||||||
* | . | Kartik K. Agaram | 2021-11-13 | 2 | -22/+20 | |
| | ||||||
* | clean up experiment from previous commit | Kartik K. Agaram | 2021-11-13 | 1 | -10/+0 | |
| | ||||||
* | instrumenting function calls with their depth | Kartik K. Agaram | 2021-11-13 | 4 | -2/+66 | |
| | ||||||
* | start using static linkage like the rest of Lua | Kartik K. Agaram | 2021-11-13 | 2 | -48/+44 | |
| | ||||||
* | learning about Lua's debug infrastructure | Kartik K. Agaram | 2021-11-11 | 1 | -0/+21 | |
| | | | | https://www.lua.org/pil/23.2.html | |||||
* | create empty file when navigating to empty definition | Kartik K. Agaram | 2021-11-11 | 2 | -4/+4 | |
| | ||||||
* | fix incorrect hotkey in menu | Kartik K. Agaram | 2021-11-11 | 1 | -2/+2 | |
| | ||||||
* | ctrl-g to edit a different definition | Kartik K. Agaram | 2021-11-11 | 2 | -3/+68 | |
| | ||||||
* | gracefully handle missing definition | Kartik K. Agaram | 2021-11-11 | 1 | -0/+1 | |
| | ||||||
* | . | Kartik K. Agaram | 2021-11-11 | 1 | -5/+5 | |
| | ||||||
* | global for current definition being edited | Kartik K. Agaram | 2021-11-11 | 1 | -3/+5 | |
| | ||||||
* | pass lua_State into editor | Kartik K. Agaram | 2021-11-11 | 2 | -6/+6 | |
| | ||||||
* | delete a helper that hides stack side effects | Kartik K. Agaram | 2021-11-11 | 1 | -8/+2 | |
| | ||||||
* | extract a few helper functions | Kartik K. Agaram | 2021-11-11 | 1 | -21/+26 | |
| | ||||||
* | . | Kartik K. Agaram | 2021-11-11 | 1 | -14/+14 | |
| | ||||||
* | . | Kartik K. Agaram | 2021-11-11 | 1 | -1/+1 | |
| | ||||||
* | reorg | Kartik K. Agaram | 2021-11-11 | 2 | -48/+44 | |
| |