浏览代码

Start editing at the end of the test text

It's static, but kind of nice.
Luna Stadler 4 年之前
父节点
当前提交
c28ec96d6b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      c/sdl/hello_sdl.c

+ 1 - 1
c/sdl/hello_sdl.c

@ -60,7 +60,7 @@ int main(int argc, char *argv[]) {
60 60
61 61
	SDL_StartTextInput();
62 62
63
	int pos = 0;
63
	int pos = 25;
64 64
	int max_chars = MIN(surface->w / advance, sizeof(msg));
65 65
66 66
	SDL_bool quit = SDL_FALSE;