Compare commits
2 Commits
505b2d0ffa
...
82e1c33db5
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
82e1c33db5 | ||
|
|
78917e28fb |
@@ -693,9 +693,11 @@ void CMD_SetWorkDir() {
|
||||
BSet main = GetBSet(LastActiveLayoutWindowID);
|
||||
WorkDir = GetDir(main.buffer);
|
||||
For (Buffers) {
|
||||
if (it->special) {
|
||||
String name = SkipToLastSlash(it->name);
|
||||
it->name = Intern(&GlobalInternTable, Format(scratch, "%S/%S", WorkDir, name));
|
||||
}
|
||||
}
|
||||
} RegisterCommand(CMD_SetWorkDir, "");
|
||||
|
||||
String Coro_OpenCodeDir;
|
||||
|
||||
@@ -79,7 +79,7 @@ void StatusWindowUpdate() {
|
||||
const char *case_sens = SearchCaseSensitive ? " C" : "";
|
||||
const char *word_bound = SearchWordBoundary ? " W" : "";
|
||||
const char *dirty = main.buffer->dirty ? " !" : "";
|
||||
String s = Format(scratch, " %S:%lld:%lld%s%s%s", main.buffer->name, (long long)xy.line + 1ll, (long long)xy.col + 1ll, dirty, case_sens, word_bound, reopen);
|
||||
String s = Format(scratch, "%S:%lld:%lld%s%s%s", main.buffer->name, (long long)xy.line + 1ll, (long long)xy.col + 1ll, dirty, case_sens, word_bound, reopen);
|
||||
For (ActiveProcesses) {
|
||||
if (it.view_id == main.view->id.id) {
|
||||
s = Format(scratch, "%S %lld :KillProcess", s, (long long)it.id);
|
||||
|
||||
Reference in New Issue
Block a user