Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | new shortcut: return to big-picture view | Kartik K. Agaram | 2021-11-25 | 1 | -3/+18 |
| | |||||
* | make upstream kilo ASan-clean | Kartik K. Agaram | 2021-11-25 | 1 | -3/+4 |
| | | | | | | Many thanks to dirkf for https://github.com/antirez/kilo/pull/73! However, teliva is still not ASan-clean. | ||||
* | standardize warning flags everywhere | Kartik K. Agaram | 2021-11-22 | 1 | -1/+1 |
| | | | | | | | | | | I'd like to enable -Wextra as well, but that creates some false positives. I've at least made my changes clean w.r.t. -Wextra. Now we have 4 remaining warnings with gcc 9.3 that seem genuine. Need to fix those. | ||||
* | . | Kartik K. Agaram | 2021-11-22 | 1 | -13/+8 |
| | |||||
* | cleaner error handling | Kartik K. Agaram | 2021-11-14 | 1 | -4/+2 |
| | |||||
* | remain in editor on error | Kartik K. Agaram | 2021-11-14 | 1 | -0/+11 |
| | |||||
* | . | Kartik K. Agaram | 2021-11-14 | 1 | -1/+1 |
| | |||||
* | more menu cleanup | Kartik K. Agaram | 2021-11-14 | 1 | -7/+12 |
| | |||||
* | . | Kartik K. Agaram | 2021-11-14 | 1 | -2/+2 |
| | |||||
* | draw the browse dialog the same way | Kartik K. Agaram | 2021-11-14 | 1 | -1/+1 |
| | |||||
* | dialogs are not status messages | Kartik K. Agaram | 2021-11-14 | 1 | -3/+8 |
| | |||||
* | cleaner dialogs | Kartik K. Agaram | 2021-11-14 | 1 | -22/+59 |
| | |||||
* | 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 |
| | |||||
* | cleaner layout for a function's code and data | Kartik K. Agaram | 2021-11-13 | 1 | -3/+0 |
| | |||||
* | 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. | ||||
* | 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 | 1 | -355/+91 |
| | | | | | | 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. | ||||
* | stop leaking memory | Kartik K. Agaram | 2021-11-13 | 1 | -2/+3 |
| | |||||
* | shield kilo.c from teliva_editbuffer detail | Kartik K. Agaram | 2021-11-13 | 1 | -4/+4 |
| | |||||
* | . | Kartik K. Agaram | 2021-11-13 | 1 | -1/+1 |
| | |||||
* | . | Kartik K. Agaram | 2021-11-13 | 1 | -4/+2 |
| | |||||
* | . | Kartik K. Agaram | 2021-11-13 | 1 | -3/+3 |
| | |||||
* | . | Kartik K. Agaram | 2021-11-13 | 1 | -11/+2 |
| | |||||
* | start using static linkage like the rest of Lua | Kartik K. Agaram | 2021-11-13 | 1 | -46/+42 |
| | |||||
* | create empty file when navigating to empty definition | Kartik K. Agaram | 2021-11-11 | 1 | -1/+1 |
| | |||||
* | 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 | 1 | -1/+58 |
| | |||||
* | pass lua_State into editor | Kartik K. Agaram | 2021-11-11 | 1 | -3/+3 |
| | |||||
* | reorg | Kartik K. Agaram | 2021-11-11 | 1 | -48/+0 |
| | |||||
* | edit a single hard-coded definition in the image | Kartik K. Agaram | 2021-11-10 | 1 | -0/+50 |
| | | | | | | | | | | | | | src/teliva counter.tlv C-e # switch to editor C-e # save and quit C-x # exit counter.tlv now has the same logical contents, though the whitespace has changed, and the order of keys is different. The implementation is utterly ghastly. For one, I'm unnecessarily interfacing with kilo through the file system. | ||||
* | switch menu bars to reverse video | Kartik K. Agaram | 2021-11-07 | 1 | -5/+5 |
| | |||||
* | escape hatch to quit with a pending error | Kartik K. Agaram | 2021-11-06 | 1 | -2/+10 |
| | |||||
* | start showing error messages in editor | Kartik K. Agaram | 2021-11-06 | 1 | -1/+2 |
| | | | | | | | | | | | Before we'd end up in cryptic situations where error messages would get hidden when the program got out of ncurses mode. Now it's a little nicer with error messages showing up at the bottom of the editor. But there's still a problem: there's no way to abort without fixing an error. | ||||
* | . | Kartik K. Agaram | 2021-11-06 | 1 | -6/+0 |
| | |||||
* | auto-save | Kartik K. Agaram | 2021-11-06 | 1 | -10/+2 |
| | | | | We'll add version control soon. | ||||
* | replace initial help message with a menu | Kartik K. Agaram | 2021-11-06 | 1 | -8/+5 |
| | |||||
* | no, more consistent to toggle run/edit with ctrl-e | Kartik K. Agaram | 2021-11-06 | 1 | -3/+4 |
| | |||||
* | exit editor with ctrl-x for consistency | Kartik K. Agaram | 2021-11-06 | 1 | -3/+4 |
| | |||||
* | . | Kartik K. Agaram | 2021-11-06 | 1 | -2/+2 |
| | |||||
* | . | Kartik K. Agaram | 2021-11-06 | 1 | -21/+21 |
| | |||||
* | clean up when leaving editor | Kartik K. Agaram | 2021-11-06 | 1 | -0/+1 |
| | | | | | kilo.c is still calling exit() in several places that we'll need to gradually clean up. | ||||
* | utterly ghastly way to rerun script after edit | Kartik K. Agaram | 2021-11-05 | 1 | -2/+3 |
| |