Idea: a commandline editor that doesn't go fullscreen by default: Difference between revisions

From razwiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
$ keep going ...
$ keep going ...
</pre>lmao this just ed 🤣🤣🤣🥲
</pre>lmao this just ed 🤣🤣🤣🥲

Ok this is actually a good idea though, possible names: fjord, or fj for short, looks cool and short name ez to type, or jot which is short and descriptive. Ok jot is already a unix command.

Let's give this a go.


(side note: would be nice to have a script to automatically sync all my sourcehut repositories)


I made a c example to get a character, but it doesn't work with C-a for example:<syntaxhighlight lang="c">
#include <stdio.h>

int main() {
int ch = getchar();
printf("ch is %c", ch);
return 0;
}
</syntaxhighlight>For python people seem to recommend the readchar library. I got it with poetry but can't seem to import it.

(side note: fish completions for poetry are broken, seem to have nested single quotes without escaping)

Revision as of 04:11, 5 June 2023

$ edit myfile.txt
some lines here
cool
$ keep going ...

lmao this just ed 🤣🤣🤣🥲

Ok this is actually a good idea though, possible names: fjord, or fj for short, looks cool and short name ez to type, or jot which is short and descriptive. Ok jot is already a unix command.

Let's give this a go.


(side note: would be nice to have a script to automatically sync all my sourcehut repositories)


I made a c example to get a character, but it doesn't work with C-a for example:

#include <stdio.h>

int main() {
  int ch = getchar();
  printf("ch is %c", ch);
  return 0;
}

For python people seem to recommend the readchar library. I got it with poetry but can't seem to import it.

(side note: fish completions for poetry are broken, seem to have nested single quotes without escaping)